src/cm/media/js/lib/yui/yui_3.10.3/api/classes/Router.html
author Yves-Marie Haussonne <ymh.work+github@gmail.com>
Fri, 09 May 2014 18:35:26 +0200
changeset 656 a84519031134
parent 525 89ef5ed3c48b
permissions -rw-r--r--
add link to "privacy policy" in the header test

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Router - YUI 3</title>
    <link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
    <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
    <link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
    <link rel="shortcut icon" type="image/png" href="../assets/favicon.png">
    <script src="http://yui.yahooapis.com/combo?3.9.1/build/yui/yui-min.js"></script>
</head>
<body class="yui3-skin-sam">

<div id="doc">
    <div id="hd" class="yui3-g header">
        <div class="yui3-u-3-4">
            
                <h1><img src="../assets/css/logo.png" title="YUI 3"></h1>
            
        </div>
        <div class="yui3-u-1-4 version">
            <em>API Docs for: 3.10.3</em>
        </div>
    </div>
    <div id="bd" class="yui3-g">

        <div class="yui3-u-1-4">
            <div id="docs-sidebar" class="sidebar apidocs">
                <div id="api-list">
    <h2 class="off-left">APIs</h2>
    <div id="api-tabview" class="tabview">
        <ul class="tabs">
            <li><a href="#api-classes">Classes</a></li>
            <li><a href="#api-modules">Modules</a></li>
        </ul>

        <div id="api-tabview-filter">
            <input type="search" id="api-filter" placeholder="Type to filter APIs">
        </div>

        <div id="api-tabview-panel">
            <ul id="api-classes" class="apis classes">
            
                <li><a href="../classes/Anim.html">Anim</a></li>
            
                <li><a href="../classes/App.html">App</a></li>
            
                <li><a href="../classes/App.Base.html">App.Base</a></li>
            
                <li><a href="../classes/App.Content.html">App.Content</a></li>
            
                <li><a href="../classes/App.Transitions.html">App.Transitions</a></li>
            
                <li><a href="../classes/App.TransitionsNative.html">App.TransitionsNative</a></li>
            
                <li><a href="../classes/AreaSeries.html">AreaSeries</a></li>
            
                <li><a href="../classes/AreaSplineSeries.html">AreaSplineSeries</a></li>
            
                <li><a href="../classes/Array.html">Array</a></li>
            
                <li><a href="../classes/ArrayList.html">ArrayList</a></li>
            
                <li><a href="../classes/ArraySort.html">ArraySort</a></li>
            
                <li><a href="../classes/AsyncQueue.html">AsyncQueue</a></li>
            
                <li><a href="../classes/Attribute.html">Attribute</a></li>
            
                <li><a href="../classes/AttributeCore.html">AttributeCore</a></li>
            
                <li><a href="../classes/AttributeEvents.html">AttributeEvents</a></li>
            
                <li><a href="../classes/AttributeExtras.html">AttributeExtras</a></li>
            
                <li><a href="../classes/AttributeLite.html">AttributeLite</a></li>
            
                <li><a href="../classes/AttributeObservable.html">AttributeObservable</a></li>
            
                <li><a href="../classes/AutoComplete.html">AutoComplete</a></li>
            
                <li><a href="../classes/AutoCompleteBase.html">AutoCompleteBase</a></li>
            
                <li><a href="../classes/AutoCompleteFilters.html">AutoCompleteFilters</a></li>
            
                <li><a href="../classes/AutoCompleteHighlighters.html">AutoCompleteHighlighters</a></li>
            
                <li><a href="../classes/AutoCompleteList.html">AutoCompleteList</a></li>
            
                <li><a href="../classes/Axis.html">Axis</a></li>
            
                <li><a href="../classes/AxisBase.html">AxisBase</a></li>
            
                <li><a href="../classes/BarSeries.html">BarSeries</a></li>
            
                <li><a href="../classes/Base.html">Base</a></li>
            
                <li><a href="../classes/BaseCore.html">BaseCore</a></li>
            
                <li><a href="../classes/BaseObservable.html">BaseObservable</a></li>
            
                <li><a href="../classes/BottomAxisLayout.html">BottomAxisLayout</a></li>
            
                <li><a href="../classes/Button.html">Button</a></li>
            
                <li><a href="../classes/ButtonCore.html">ButtonCore</a></li>
            
                <li><a href="../classes/ButtonGroup.html">ButtonGroup</a></li>
            
                <li><a href="../classes/Cache.html">Cache</a></li>
            
                <li><a href="../classes/CacheOffline.html">CacheOffline</a></li>
            
                <li><a href="../classes/Calendar.html">Calendar</a></li>
            
                <li><a href="../classes/CalendarBase.html">CalendarBase</a></li>
            
                <li><a href="../classes/CandlestickSeries.html">CandlestickSeries</a></li>
            
                <li><a href="../classes/CanvasCircle.html">CanvasCircle</a></li>
            
                <li><a href="../classes/CanvasDrawing.html">CanvasDrawing</a></li>
            
                <li><a href="../classes/CanvasEllipse.html">CanvasEllipse</a></li>
            
                <li><a href="../classes/CanvasGraphic.html">CanvasGraphic</a></li>
            
                <li><a href="../classes/CanvasPath.html">CanvasPath</a></li>
            
                <li><a href="../classes/CanvasPieSlice.html">CanvasPieSlice</a></li>
            
                <li><a href="../classes/CanvasRect.html">CanvasRect</a></li>
            
                <li><a href="../classes/CanvasShape.html">CanvasShape</a></li>
            
                <li><a href="../classes/CartesianChart.html">CartesianChart</a></li>
            
                <li><a href="../classes/CartesianSeries.html">CartesianSeries</a></li>
            
                <li><a href="../classes/CategoryAxis.html">CategoryAxis</a></li>
            
                <li><a href="../classes/CategoryAxisBase.html">CategoryAxisBase</a></li>
            
                <li><a href="../classes/CategoryImpl.html">CategoryImpl</a></li>
            
                <li><a href="../classes/Chart.html">Chart</a></li>
            
                <li><a href="../classes/ChartBase.html">ChartBase</a></li>
            
                <li><a href="../classes/ChartLegend.html">ChartLegend</a></li>
            
                <li><a href="../classes/Circle.html">Circle</a></li>
            
                <li><a href="../classes/CircleGroup.html">CircleGroup</a></li>
            
                <li><a href="../classes/ClassNameManager.html">ClassNameManager</a></li>
            
                <li><a href="../classes/ClickableRail.html">ClickableRail</a></li>
            
                <li><a href="../classes/Color.html">Color</a></li>
            
                <li><a href="../classes/Color.Harmony.html">Color.Harmony</a></li>
            
                <li><a href="../classes/Color.HSL.html">Color.HSL</a></li>
            
                <li><a href="../classes/Color.HSV.html">Color.HSV</a></li>
            
                <li><a href="../classes/ColumnSeries.html">ColumnSeries</a></li>
            
                <li><a href="../classes/ComboSeries.html">ComboSeries</a></li>
            
                <li><a href="../classes/ComboSplineSeries.html">ComboSplineSeries</a></li>
            
                <li><a href="../classes/config.html">config</a></li>
            
                <li><a href="../classes/Console.html">Console</a></li>
            
                <li><a href="../classes/Controller.html">Controller</a></li>
            
                <li><a href="../classes/Cookie.html">Cookie</a></li>
            
                <li><a href="../classes/CurveUtil.html">CurveUtil</a></li>
            
                <li><a href="../classes/CustomEvent.html">CustomEvent</a></li>
            
                <li><a href="../classes/DataSchema.Array.html">DataSchema.Array</a></li>
            
                <li><a href="../classes/DataSchema.Base.html">DataSchema.Base</a></li>
            
                <li><a href="../classes/DataSchema.JSON.html">DataSchema.JSON</a></li>
            
                <li><a href="../classes/DataSchema.Text.html">DataSchema.Text</a></li>
            
                <li><a href="../classes/DataSchema.XML.html">DataSchema.XML</a></li>
            
                <li><a href="../classes/DataSource.Function.html">DataSource.Function</a></li>
            
                <li><a href="../classes/DataSource.Get.html">DataSource.Get</a></li>
            
                <li><a href="../classes/DataSource.IO.html">DataSource.IO</a></li>
            
                <li><a href="../classes/DataSource.Local.html">DataSource.Local</a></li>
            
                <li><a href="../classes/DataSourceArraySchema.html">DataSourceArraySchema</a></li>
            
                <li><a href="../classes/DataSourceCache.html">DataSourceCache</a></li>
            
                <li><a href="../classes/DataSourceCacheExtension.html">DataSourceCacheExtension</a></li>
            
                <li><a href="../classes/DataSourceJSONSchema.html">DataSourceJSONSchema</a></li>
            
                <li><a href="../classes/DataSourceTextSchema.html">DataSourceTextSchema</a></li>
            
                <li><a href="../classes/DataSourceXMLSchema.html">DataSourceXMLSchema</a></li>
            
                <li><a href="../classes/DataTable.html">DataTable</a></li>
            
                <li><a href="../classes/DataTable.Base.html">DataTable.Base</a></li>
            
                <li><a href="../classes/DataTable.BodyView.html">DataTable.BodyView</a></li>
            
                <li><a href="../classes/DataTable.BodyView.Formatters.html">DataTable.BodyView.Formatters</a></li>
            
                <li><a href="../classes/DataTable.ColumnWidths.html">DataTable.ColumnWidths</a></li>
            
                <li><a href="../classes/DataTable.Core.html">DataTable.Core</a></li>
            
                <li><a href="../classes/DataTable.HeaderView.html">DataTable.HeaderView</a></li>
            
                <li><a href="../classes/DataTable.Message.html">DataTable.Message</a></li>
            
                <li><a href="../classes/DataTable.Mutable.html">DataTable.Mutable</a></li>
            
                <li><a href="../classes/DataTable.Scrollable.html">DataTable.Scrollable</a></li>
            
                <li><a href="../classes/DataTable.Sortable.html">DataTable.Sortable</a></li>
            
                <li><a href="../classes/DataTable.TableView.html">DataTable.TableView</a></li>
            
                <li><a href="../classes/Date.html">Date</a></li>
            
                <li><a href="../classes/DD.DDM.html">DD.DDM</a></li>
            
                <li><a href="../classes/DD.Delegate.html">DD.Delegate</a></li>
            
                <li><a href="../classes/DD.Drag.html">DD.Drag</a></li>
            
                <li><a href="../classes/DD.Drop.html">DD.Drop</a></li>
            
                <li><a href="../classes/DD.Scroll.html">DD.Scroll</a></li>
            
                <li><a href="../classes/Dial.html">Dial</a></li>
            
                <li><a href="../classes/Do.html">Do</a></li>
            
                <li><a href="../classes/Do.AlterArgs.html">Do.AlterArgs</a></li>
            
                <li><a href="../classes/Do.AlterReturn.html">Do.AlterReturn</a></li>
            
                <li><a href="../classes/Do.Error.html">Do.Error</a></li>
            
                <li><a href="../classes/Do.Halt.html">Do.Halt</a></li>
            
                <li><a href="../classes/Do.Method.html">Do.Method</a></li>
            
                <li><a href="../classes/Do.Prevent.html">Do.Prevent</a></li>
            
                <li><a href="../classes/DOM.html">DOM</a></li>
            
                <li><a href="../classes/DOMEventFacade.html">DOMEventFacade</a></li>
            
                <li><a href="../classes/Drawing.html">Drawing</a></li>
            
                <li><a href="../classes/Easing.html">Easing</a></li>
            
                <li><a href="../classes/EditorBase.html">EditorBase</a></li>
            
                <li><a href="../classes/EditorSelection.html">EditorSelection</a></li>
            
                <li><a href="../classes/Ellipse.html">Ellipse</a></li>
            
                <li><a href="../classes/EllipseGroup.html">EllipseGroup</a></li>
            
                <li><a href="../classes/Escape.html">Escape</a></li>
            
                <li><a href="../classes/Event.html">Event</a></li>
            
                <li><a href="../classes/EventFacade.html">EventFacade</a></li>
            
                <li><a href="../classes/EventHandle.html">EventHandle</a></li>
            
                <li><a href="../classes/EventTarget.html">EventTarget</a></li>
            
                <li><a href="../classes/ExecCommand.html">ExecCommand</a></li>
            
                <li><a href="../classes/Features.html">Features</a></li>
            
                <li><a href="../classes/File.html">File</a></li>
            
                <li><a href="../classes/FileFlash.html">FileFlash</a></li>
            
                <li><a href="../classes/FileHTML5.html">FileHTML5</a></li>
            
                <li><a href="../classes/Fills.html">Fills</a></li>
            
                <li><a href="../classes/Frame.html">Frame</a></li>
            
                <li><a href="../classes/Get.html">Get</a></li>
            
                <li><a href="../classes/Get.Transaction.html">Get.Transaction</a></li>
            
                <li><a href="../classes/GetNodeJS.html">GetNodeJS</a></li>
            
                <li><a href="../classes/Graph.html">Graph</a></li>
            
                <li><a href="../classes/Graphic.html">Graphic</a></li>
            
                <li><a href="../classes/GraphicBase.html">GraphicBase</a></li>
            
                <li><a href="../classes/Gridlines.html">Gridlines</a></li>
            
                <li><a href="../classes/GroupDiamond.html">GroupDiamond</a></li>
            
                <li><a href="../classes/GroupRect.html">GroupRect</a></li>
            
                <li><a href="../classes/Handlebars.html">Handlebars</a></li>
            
                <li><a href="../classes/Highlight.html">Highlight</a></li>
            
                <li><a href="../classes/Histogram.html">Histogram</a></li>
            
                <li><a href="../classes/HistoryBase.html">HistoryBase</a></li>
            
                <li><a href="../classes/HistoryHash.html">HistoryHash</a></li>
            
                <li><a href="../classes/HistoryHTML5.html">HistoryHTML5</a></li>
            
                <li><a href="../classes/HorizontalLegendLayout.html">HorizontalLegendLayout</a></li>
            
                <li><a href="../classes/ImgLoadGroup.html">ImgLoadGroup</a></li>
            
                <li><a href="../classes/ImgLoadImgObj.html">ImgLoadImgObj</a></li>
            
                <li><a href="../classes/Intl.html">Intl</a></li>
            
                <li><a href="../classes/IO.html">IO</a></li>
            
                <li><a href="../classes/JSON.html">JSON</a></li>
            
                <li><a href="../classes/JSONPRequest.html">JSONPRequest</a></li>
            
                <li><a href="../classes/Lang.html">Lang</a></li>
            
                <li><a href="../classes/LazyModelList.html">LazyModelList</a></li>
            
                <li><a href="../classes/LeftAxisLayout.html">LeftAxisLayout</a></li>
            
                <li><a href="../classes/Lines.html">Lines</a></li>
            
                <li><a href="../classes/LineSeries.html">LineSeries</a></li>
            
                <li><a href="../classes/Loader.html">Loader</a></li>
            
                <li><a href="../classes/MarkerSeries.html">MarkerSeries</a></li>
            
                <li><a href="../classes/Matrix.html">Matrix</a></li>
            
                <li><a href="../classes/MatrixUtil.html">MatrixUtil</a></li>
            
                <li><a href="../classes/Model.html">Model</a></li>
            
                <li><a href="../classes/ModelList.html">ModelList</a></li>
            
                <li><a href="../classes/ModelSync.REST.html">ModelSync.REST</a></li>
            
                <li><a href="../classes/Node.html">Node</a></li>
            
                <li><a href="../classes/NodeList.html">NodeList</a></li>
            
                <li><a href="../classes/Number.html">Number</a></li>
            
                <li><a href="../classes/NumericAxis.html">NumericAxis</a></li>
            
                <li><a href="../classes/NumericAxisBase.html">NumericAxisBase</a></li>
            
                <li><a href="../classes/NumericImpl.html">NumericImpl</a></li>
            
                <li><a href="../classes/Object.html">Object</a></li>
            
                <li><a href="../classes/OHLCSeries.html">OHLCSeries</a></li>
            
                <li><a href="../classes/Overlay.html">Overlay</a></li>
            
                <li><a href="../classes/Panel.html">Panel</a></li>
            
                <li><a href="../classes/Parallel.html">Parallel</a></li>
            
                <li><a href="../classes/Path.html">Path</a></li>
            
                <li><a href="../classes/PieChart.html">PieChart</a></li>
            
                <li><a href="../classes/PieSeries.html">PieSeries</a></li>
            
                <li><a href="../classes/Pjax.html">Pjax</a></li>
            
                <li><a href="../classes/PjaxBase.html">PjaxBase</a></li>
            
                <li><a href="../classes/PjaxContent.html">PjaxContent</a></li>
            
                <li><a href="../classes/Plots.html">Plots</a></li>
            
                <li><a href="../classes/Plugin.Align.html">Plugin.Align</a></li>
            
                <li><a href="../classes/Plugin.AutoComplete.html">Plugin.AutoComplete</a></li>
            
                <li><a href="../classes/Plugin.Base.html">Plugin.Base</a></li>
            
                <li><a href="../classes/Plugin.Button.html">Plugin.Button</a></li>
            
                <li><a href="../classes/Plugin.Cache.html">Plugin.Cache</a></li>
            
                <li><a href="../classes/Plugin.CalendarNavigator.html">Plugin.CalendarNavigator</a></li>
            
                <li><a href="../classes/Plugin.ConsoleFilters.html">Plugin.ConsoleFilters</a></li>
            
                <li><a href="../classes/Plugin.CreateLinkBase.html">Plugin.CreateLinkBase</a></li>
            
                <li><a href="../classes/Plugin.DataTableDataSource.html">Plugin.DataTableDataSource</a></li>
            
                <li><a href="../classes/Plugin.DDConstrained.html">Plugin.DDConstrained</a></li>
            
                <li><a href="../classes/Plugin.DDNodeScroll.html">Plugin.DDNodeScroll</a></li>
            
                <li><a href="../classes/Plugin.DDProxy.html">Plugin.DDProxy</a></li>
            
                <li><a href="../classes/Plugin.DDWindowScroll.html">Plugin.DDWindowScroll</a></li>
            
                <li><a href="../classes/Plugin.Drag.html">Plugin.Drag</a></li>
            
                <li><a href="../classes/Plugin.Drop.html">Plugin.Drop</a></li>
            
                <li><a href="../classes/Plugin.EditorBidi.html">Plugin.EditorBidi</a></li>
            
                <li><a href="../classes/Plugin.EditorBR.html">Plugin.EditorBR</a></li>
            
                <li><a href="../classes/Plugin.EditorLists.html">Plugin.EditorLists</a></li>
            
                <li><a href="../classes/Plugin.EditorPara.html">Plugin.EditorPara</a></li>
            
                <li><a href="../classes/Plugin.EditorParaBase.html">Plugin.EditorParaBase</a></li>
            
                <li><a href="../classes/Plugin.EditorParaIE.html">Plugin.EditorParaIE</a></li>
            
                <li><a href="../classes/Plugin.EditorTab.html">Plugin.EditorTab</a></li>
            
                <li><a href="../classes/Plugin.ExecCommand.html">Plugin.ExecCommand</a></li>
            
                <li><a href="../classes/Plugin.Flick.html">Plugin.Flick</a></li>
            
                <li><a href="../classes/Plugin.Host.html">Plugin.Host</a></li>
            
                <li><a href="../classes/plugin.NodeFocusManager.html">plugin.NodeFocusManager</a></li>
            
                <li><a href="../classes/Plugin.NodeFX.html">Plugin.NodeFX</a></li>
            
                <li><a href="../classes/plugin.NodeMenuNav.html">plugin.NodeMenuNav</a></li>
            
                <li><a href="../classes/Plugin.Pjax.html">Plugin.Pjax</a></li>
            
                <li><a href="../classes/Plugin.Resize.html">Plugin.Resize</a></li>
            
                <li><a href="../classes/Plugin.ResizeConstrained.html">Plugin.ResizeConstrained</a></li>
            
                <li><a href="../classes/Plugin.ResizeProxy.html">Plugin.ResizeProxy</a></li>
            
                <li><a href="../classes/Plugin.ScrollInfo.html">Plugin.ScrollInfo</a></li>
            
                <li><a href="../classes/Plugin.ScrollViewList.html">Plugin.ScrollViewList</a></li>
            
                <li><a href="../classes/Plugin.ScrollViewPaginator.html">Plugin.ScrollViewPaginator</a></li>
            
                <li><a href="../classes/Plugin.ScrollViewScrollbars.html">Plugin.ScrollViewScrollbars</a></li>
            
                <li><a href="../classes/Plugin.Shim.html">Plugin.Shim</a></li>
            
                <li><a href="../classes/Plugin.SortScroll.html">Plugin.SortScroll</a></li>
            
                <li><a href="../classes/Plugin.Tree.Lazy.html">Plugin.Tree.Lazy</a></li>
            
                <li><a href="../classes/Plugin.WidgetAnim.html">Plugin.WidgetAnim</a></li>
            
                <li><a href="../classes/Pollable.html">Pollable</a></li>
            
                <li><a href="../classes/Promise.html">Promise</a></li>
            
                <li><a href="../classes/Promise.Resolver.html">Promise.Resolver</a></li>
            
                <li><a href="../classes/QueryString.html">QueryString</a></li>
            
                <li><a href="../classes/Queue.html">Queue</a></li>
            
                <li><a href="../classes/RangeSeries.html">RangeSeries</a></li>
            
                <li><a href="../classes/Record.html">Record</a></li>
            
                <li><a href="../classes/Recordset.html">Recordset</a></li>
            
                <li><a href="../classes/RecordsetFilter.html">RecordsetFilter</a></li>
            
                <li><a href="../classes/RecordsetIndexer.html">RecordsetIndexer</a></li>
            
                <li><a href="../classes/RecordsetSort.html">RecordsetSort</a></li>
            
                <li><a href="../classes/Rect.html">Rect</a></li>
            
                <li><a href="../classes/Renderer.html">Renderer</a></li>
            
                <li><a href="../classes/Resize.html">Resize</a></li>
            
                <li><a href="../classes/RightAxisLayout.html">RightAxisLayout</a></li>
            
                <li><a href="../classes/Router.html">Router</a></li>
            
                <li><a href="../classes/ScrollView.html">ScrollView</a></li>
            
                <li><a href="../classes/Selector.html">Selector</a></li>
            
                <li><a href="../classes/SeriesBase.html">SeriesBase</a></li>
            
                <li><a href="../classes/Shape.html">Shape</a></li>
            
                <li><a href="../classes/ShapeGroup.html">ShapeGroup</a></li>
            
                <li><a href="../classes/Slider.html">Slider</a></li>
            
                <li><a href="../classes/SliderBase.html">SliderBase</a></li>
            
                <li><a href="../classes/SliderValueRange.html">SliderValueRange</a></li>
            
                <li><a href="../classes/soon.html">soon</a></li>
            
                <li><a href="../classes/Sortable.html">Sortable</a></li>
            
                <li><a href="../classes/SplineSeries.html">SplineSeries</a></li>
            
                <li><a href="../classes/StackedAreaSeries.html">StackedAreaSeries</a></li>
            
                <li><a href="../classes/StackedAreaSplineSeries.html">StackedAreaSplineSeries</a></li>
            
                <li><a href="../classes/StackedAxis.html">StackedAxis</a></li>
            
                <li><a href="../classes/StackedAxisBase.html">StackedAxisBase</a></li>
            
                <li><a href="../classes/StackedBarSeries.html">StackedBarSeries</a></li>
            
                <li><a href="../classes/StackedColumnSeries.html">StackedColumnSeries</a></li>
            
                <li><a href="../classes/StackedComboSeries.html">StackedComboSeries</a></li>
            
                <li><a href="../classes/StackedComboSplineSeries.html">StackedComboSplineSeries</a></li>
            
                <li><a href="../classes/StackedImpl.html">StackedImpl</a></li>
            
                <li><a href="../classes/StackedLineSeries.html">StackedLineSeries</a></li>
            
                <li><a href="../classes/StackedMarkerSeries.html">StackedMarkerSeries</a></li>
            
                <li><a href="../classes/StackedSplineSeries.html">StackedSplineSeries</a></li>
            
                <li><a href="../classes/StackingUtil.html">StackingUtil</a></li>
            
                <li><a href="../classes/State.html">State</a></li>
            
                <li><a href="../classes/StyleSheet.html">StyleSheet</a></li>
            
                <li><a href="../classes/Subscriber.html">Subscriber</a></li>
            
                <li><a href="../classes/SVGCircle.html">SVGCircle</a></li>
            
                <li><a href="../classes/SVGDrawing.html">SVGDrawing</a></li>
            
                <li><a href="../classes/SVGEllipse.html">SVGEllipse</a></li>
            
                <li><a href="../classes/SVGGraphic.html">SVGGraphic</a></li>
            
                <li><a href="../classes/SVGPath.html">SVGPath</a></li>
            
                <li><a href="../classes/SVGPieSlice.html">SVGPieSlice</a></li>
            
                <li><a href="../classes/SVGRect.html">SVGRect</a></li>
            
                <li><a href="../classes/SVGShape.html">SVGShape</a></li>
            
                <li><a href="../classes/SWF.html">SWF</a></li>
            
                <li><a href="../classes/SWFDetect.html">SWFDetect</a></li>
            
                <li><a href="../classes/SyntheticEvent.html">SyntheticEvent</a></li>
            
                <li><a href="../classes/SyntheticEvent.Notifier.html">SyntheticEvent.Notifier</a></li>
            
                <li><a href="../classes/SynthRegistry.html">SynthRegistry</a></li>
            
                <li><a href="../classes/Tab.html">Tab</a></li>
            
                <li><a href="../classes/TabView.html">TabView</a></li>
            
                <li><a href="../classes/Template.html">Template</a></li>
            
                <li><a href="../classes/Template.Micro.html">Template.Micro</a></li>
            
                <li><a href="../classes/Test.ArrayAssert.html">Test.ArrayAssert</a></li>
            
                <li><a href="../classes/Test.Assert.html">Test.Assert</a></li>
            
                <li><a href="../classes/Test.AssertionError.html">Test.AssertionError</a></li>
            
                <li><a href="../classes/Test.ComparisonFailure.html">Test.ComparisonFailure</a></li>
            
                <li><a href="../classes/Test.Console.html">Test.Console</a></li>
            
                <li><a href="../classes/Test.CoverageFormat.html">Test.CoverageFormat</a></li>
            
                <li><a href="../classes/Test.DateAssert.html">Test.DateAssert</a></li>
            
                <li><a href="../classes/Test.EventTarget.html">Test.EventTarget</a></li>
            
                <li><a href="../classes/Test.Mock.html">Test.Mock</a></li>
            
                <li><a href="../classes/Test.Mock.Value.html">Test.Mock.Value</a></li>
            
                <li><a href="../classes/Test.ObjectAssert.html">Test.ObjectAssert</a></li>
            
                <li><a href="../classes/Test.Reporter.html">Test.Reporter</a></li>
            
                <li><a href="../classes/Test.Results.html">Test.Results</a></li>
            
                <li><a href="../classes/Test.Runner.html">Test.Runner</a></li>
            
                <li><a href="../classes/Test.ShouldError.html">Test.ShouldError</a></li>
            
                <li><a href="../classes/Test.ShouldFail.html">Test.ShouldFail</a></li>
            
                <li><a href="../classes/Test.TestCase.html">Test.TestCase</a></li>
            
                <li><a href="../classes/Test.TestFormat.html">Test.TestFormat</a></li>
            
                <li><a href="../classes/Test.TestNode.html">Test.TestNode</a></li>
            
                <li><a href="../classes/Test.TestRunner.html">Test.TestRunner</a></li>
            
                <li><a href="../classes/Test.TestSuite.html">Test.TestSuite</a></li>
            
                <li><a href="../classes/Test.UnexpectedError.html">Test.UnexpectedError</a></li>
            
                <li><a href="../classes/Test.UnexpectedValue.html">Test.UnexpectedValue</a></li>
            
                <li><a href="../classes/Test.Wait.html">Test.Wait</a></li>
            
                <li><a href="../classes/Text.AccentFold.html">Text.AccentFold</a></li>
            
                <li><a href="../classes/Text.WordBreak.html">Text.WordBreak</a></li>
            
                <li><a href="../classes/TimeAxis.html">TimeAxis</a></li>
            
                <li><a href="../classes/TimeAxisBase.html">TimeAxisBase</a></li>
            
                <li><a href="../classes/TimeImpl.html">TimeImpl</a></li>
            
                <li><a href="../classes/ToggleButton.html">ToggleButton</a></li>
            
                <li><a href="../classes/TopAxisLayout.html">TopAxisLayout</a></li>
            
                <li><a href="../classes/Transition.html">Transition</a></li>
            
                <li><a href="../classes/Tree.html">Tree</a></li>
            
                <li><a href="../classes/Tree.Labelable.html">Tree.Labelable</a></li>
            
                <li><a href="../classes/Tree.Node.html">Tree.Node</a></li>
            
                <li><a href="../classes/Tree.Node.Labelable.html">Tree.Node.Labelable</a></li>
            
                <li><a href="../classes/Tree.Node.Openable.html">Tree.Node.Openable</a></li>
            
                <li><a href="../classes/Tree.Node.Selectable.html">Tree.Node.Selectable</a></li>
            
                <li><a href="../classes/Tree.Node.Sortable.html">Tree.Node.Sortable</a></li>
            
                <li><a href="../classes/Tree.Openable.html">Tree.Openable</a></li>
            
                <li><a href="../classes/Tree.Selectable.html">Tree.Selectable</a></li>
            
                <li><a href="../classes/Tree.Sortable.html">Tree.Sortable</a></li>
            
                <li><a href="../classes/UA.html">UA</a></li>
            
                <li><a href="../classes/Uploader.html">Uploader</a></li>
            
                <li><a href="../classes/Uploader.Queue.html">Uploader.Queue</a></li>
            
                <li><a href="../classes/UploaderFlash.html">UploaderFlash</a></li>
            
                <li><a href="../classes/UploaderHTML5.html">UploaderHTML5</a></li>
            
                <li><a href="../classes/ValueChange.html">ValueChange</a></li>
            
                <li><a href="../classes/VerticalLegendLayout.html">VerticalLegendLayout</a></li>
            
                <li><a href="../classes/View.html">View</a></li>
            
                <li><a href="../classes/View.NodeMap.html">View.NodeMap</a></li>
            
                <li><a href="../classes/VMLCircle.html">VMLCircle</a></li>
            
                <li><a href="../classes/VMLDrawing.html">VMLDrawing</a></li>
            
                <li><a href="../classes/VMLEllipse.html">VMLEllipse</a></li>
            
                <li><a href="../classes/VMLGraphic.html">VMLGraphic</a></li>
            
                <li><a href="../classes/VMLPath.html">VMLPath</a></li>
            
                <li><a href="../classes/VMLPieSlice.html">VMLPieSlice</a></li>
            
                <li><a href="../classes/VMLRect.html">VMLRect</a></li>
            
                <li><a href="../classes/VMLShape.html">VMLShape</a></li>
            
                <li><a href="../classes/Widget.html">Widget</a></li>
            
                <li><a href="../classes/WidgetAutohide.html">WidgetAutohide</a></li>
            
                <li><a href="../classes/WidgetButtons.html">WidgetButtons</a></li>
            
                <li><a href="../classes/WidgetChild.html">WidgetChild</a></li>
            
                <li><a href="../classes/WidgetModality.html">WidgetModality</a></li>
            
                <li><a href="../classes/WidgetParent.html">WidgetParent</a></li>
            
                <li><a href="../classes/WidgetPosition.html">WidgetPosition</a></li>
            
                <li><a href="../classes/WidgetPositionAlign.html">WidgetPositionAlign</a></li>
            
                <li><a href="../classes/WidgetPositionConstrain.html">WidgetPositionConstrain</a></li>
            
                <li><a href="../classes/WidgetStack.html">WidgetStack</a></li>
            
                <li><a href="../classes/WidgetStdMod.html">WidgetStdMod</a></li>
            
                <li><a href="../classes/XML.html">XML</a></li>
            
                <li><a href="../classes/YQL.html">YQL</a></li>
            
                <li><a href="../classes/YQLRequest.html">YQLRequest</a></li>
            
                <li><a href="../classes/YUI.html">YUI</a></li>
            
                <li><a href="../classes/YUI~substitute.html">YUI~substitute</a></li>
            
            </ul>

            <ul id="api-modules" class="apis modules">
            
                <li><a href="../modules/align-plugin.html">align-plugin</a></li>
            
                <li><a href="../modules/anim.html">anim</a></li>
            
                <li><a href="../modules/anim-base.html">anim-base</a></li>
            
                <li><a href="../modules/anim-color.html">anim-color</a></li>
            
                <li><a href="../modules/anim-curve.html">anim-curve</a></li>
            
                <li><a href="../modules/anim-easing.html">anim-easing</a></li>
            
                <li><a href="../modules/anim-node-plugin.html">anim-node-plugin</a></li>
            
                <li><a href="../modules/anim-scroll.html">anim-scroll</a></li>
            
                <li><a href="../modules/anim-shape.html">anim-shape</a></li>
            
                <li><a href="../modules/anim-shape-transform.html">anim-shape-transform</a></li>
            
                <li><a href="../modules/anim-xy.html">anim-xy</a></li>
            
                <li><a href="../modules/app.html">app</a></li>
            
                <li><a href="../modules/app-base.html">app-base</a></li>
            
                <li><a href="../modules/app-content.html">app-content</a></li>
            
                <li><a href="../modules/app-transitions.html">app-transitions</a></li>
            
                <li><a href="../modules/app-transitions-native.html">app-transitions-native</a></li>
            
                <li><a href="../modules/array-extras.html">array-extras</a></li>
            
                <li><a href="../modules/array-invoke.html">array-invoke</a></li>
            
                <li><a href="../modules/arraylist.html">arraylist</a></li>
            
                <li><a href="../modules/arraylist-add.html">arraylist-add</a></li>
            
                <li><a href="../modules/arraylist-filter.html">arraylist-filter</a></li>
            
                <li><a href="../modules/arraysort.html">arraysort</a></li>
            
                <li><a href="../modules/async-queue.html">async-queue</a></li>
            
                <li><a href="../modules/attribute.html">attribute</a></li>
            
                <li><a href="../modules/attribute-base.html">attribute-base</a></li>
            
                <li><a href="../modules/attribute-complex.html">attribute-complex</a></li>
            
                <li><a href="../modules/attribute-core.html">attribute-core</a></li>
            
                <li><a href="../modules/attribute-extras.html">attribute-extras</a></li>
            
                <li><a href="../modules/attribute-observable.html">attribute-observable</a></li>
            
                <li><a href="../modules/autocomplete.html">autocomplete</a></li>
            
                <li><a href="../modules/autocomplete-base.html">autocomplete-base</a></li>
            
                <li><a href="../modules/autocomplete-filters.html">autocomplete-filters</a></li>
            
                <li><a href="../modules/autocomplete-filters-accentfold.html">autocomplete-filters-accentfold</a></li>
            
                <li><a href="../modules/autocomplete-highlighters.html">autocomplete-highlighters</a></li>
            
                <li><a href="../modules/autocomplete-highlighters-accentfold.html">autocomplete-highlighters-accentfold</a></li>
            
                <li><a href="../modules/autocomplete-list.html">autocomplete-list</a></li>
            
                <li><a href="../modules/autocomplete-list-keys.html">autocomplete-list-keys</a></li>
            
                <li><a href="../modules/autocomplete-plugin.html">autocomplete-plugin</a></li>
            
                <li><a href="../modules/autocomplete-sources.html">autocomplete-sources</a></li>
            
                <li><a href="../modules/axis.html">axis</a></li>
            
                <li><a href="../modules/axis-base.html">axis-base</a></li>
            
                <li><a href="../modules/axis-category.html">axis-category</a></li>
            
                <li><a href="../modules/axis-category-base.html">axis-category-base</a></li>
            
                <li><a href="../modules/axis-numeric.html">axis-numeric</a></li>
            
                <li><a href="../modules/axis-numeric-base.html">axis-numeric-base</a></li>
            
                <li><a href="../modules/axis-stacked.html">axis-stacked</a></li>
            
                <li><a href="../modules/axis-stacked-base.html">axis-stacked-base</a></li>
            
                <li><a href="../modules/axis-time.html">axis-time</a></li>
            
                <li><a href="../modules/axis-time-base.html">axis-time-base</a></li>
            
                <li><a href="../modules/base.html">base</a></li>
            
                <li><a href="../modules/base-base.html">base-base</a></li>
            
                <li><a href="../modules/base-build.html">base-build</a></li>
            
                <li><a href="../modules/base-core.html">base-core</a></li>
            
                <li><a href="../modules/base-observable.html">base-observable</a></li>
            
                <li><a href="../modules/base-pluginhost.html">base-pluginhost</a></li>
            
                <li><a href="../modules/button.html">button</a></li>
            
                <li><a href="../modules/button-core.html">button-core</a></li>
            
                <li><a href="../modules/button-group.html">button-group</a></li>
            
                <li><a href="../modules/button-plugin.html">button-plugin</a></li>
            
                <li><a href="../modules/cache.html">cache</a></li>
            
                <li><a href="../modules/cache-base.html">cache-base</a></li>
            
                <li><a href="../modules/cache-offline.html">cache-offline</a></li>
            
                <li><a href="../modules/cache-plugin.html">cache-plugin</a></li>
            
                <li><a href="../modules/calendar.html">calendar</a></li>
            
                <li><a href="../modules/calendar-base.html">calendar-base</a></li>
            
                <li><a href="../modules/calendarnavigator.html">calendarnavigator</a></li>
            
                <li><a href="../modules/charts.html">charts</a></li>
            
                <li><a href="../modules/charts-base.html">charts-base</a></li>
            
                <li><a href="../modules/charts-legend.html">charts-legend</a></li>
            
                <li><a href="../modules/classnamemanager.html">classnamemanager</a></li>
            
                <li><a href="../modules/clickable-rail.html">clickable-rail</a></li>
            
                <li><a href="../modules/collection.html">collection</a></li>
            
                <li><a href="../modules/color.html">color</a></li>
            
                <li><a href="../modules/color-base.html">color-base</a></li>
            
                <li><a href="../modules/color-harmony.html">color-harmony</a></li>
            
                <li><a href="../modules/color-hsl.html">color-hsl</a></li>
            
                <li><a href="../modules/color-hsv.html">color-hsv</a></li>
            
                <li><a href="../modules/console.html">console</a></li>
            
                <li><a href="../modules/console-filters.html">console-filters</a></li>
            
                <li><a href="../modules/cookie.html">cookie</a></li>
            
                <li><a href="../modules/createlink-base.html">createlink-base</a></li>
            
                <li><a href="../modules/dataschema.html">dataschema</a></li>
            
                <li><a href="../modules/dataschema-array.html">dataschema-array</a></li>
            
                <li><a href="../modules/dataschema-base.html">dataschema-base</a></li>
            
                <li><a href="../modules/dataschema-json.html">dataschema-json</a></li>
            
                <li><a href="../modules/dataschema-text.html">dataschema-text</a></li>
            
                <li><a href="../modules/dataschema-xml.html">dataschema-xml</a></li>
            
                <li><a href="../modules/datasource.html">datasource</a></li>
            
                <li><a href="../modules/datasource-arrayschema.html">datasource-arrayschema</a></li>
            
                <li><a href="../modules/datasource-cache.html">datasource-cache</a></li>
            
                <li><a href="../modules/datasource-function.html">datasource-function</a></li>
            
                <li><a href="../modules/datasource-get.html">datasource-get</a></li>
            
                <li><a href="../modules/datasource-io.html">datasource-io</a></li>
            
                <li><a href="../modules/datasource-jsonschema.html">datasource-jsonschema</a></li>
            
                <li><a href="../modules/datasource-local.html">datasource-local</a></li>
            
                <li><a href="../modules/datasource-polling.html">datasource-polling</a></li>
            
                <li><a href="../modules/datasource-textschema.html">datasource-textschema</a></li>
            
                <li><a href="../modules/datasource-xmlschema.html">datasource-xmlschema</a></li>
            
                <li><a href="../modules/datatable.html">datatable</a></li>
            
                <li><a href="../modules/datatable-base.html">datatable-base</a></li>
            
                <li><a href="../modules/datatable-body.html">datatable-body</a></li>
            
                <li><a href="../modules/datatable-column-widths.html">datatable-column-widths</a></li>
            
                <li><a href="../modules/datatable-core.html">datatable-core</a></li>
            
                <li><a href="../modules/datatable-datasource.html">datatable-datasource</a></li>
            
                <li><a href="../modules/datatable-formatters.html">datatable-formatters</a></li>
            
                <li><a href="../modules/datatable-head.html">datatable-head</a></li>
            
                <li><a href="../modules/datatable-message.html">datatable-message</a></li>
            
                <li><a href="../modules/datatable-mutable.html">datatable-mutable</a></li>
            
                <li><a href="../modules/datatable-scroll.html">datatable-scroll</a></li>
            
                <li><a href="../modules/datatable-sort.html">datatable-sort</a></li>
            
                <li><a href="../modules/datatable-table.html">datatable-table</a></li>
            
                <li><a href="../modules/datatype.html">datatype</a></li>
            
                <li><a href="../modules/datatype-date.html">datatype-date</a></li>
            
                <li><a href="../modules/datatype-date-format.html">datatype-date-format</a></li>
            
                <li><a href="../modules/datatype-date-math.html">datatype-date-math</a></li>
            
                <li><a href="../modules/datatype-date-parse.html">datatype-date-parse</a></li>
            
                <li><a href="../modules/datatype-number.html">datatype-number</a></li>
            
                <li><a href="../modules/datatype-number-format.html">datatype-number-format</a></li>
            
                <li><a href="../modules/datatype-number-parse.html">datatype-number-parse</a></li>
            
                <li><a href="../modules/datatype-xml.html">datatype-xml</a></li>
            
                <li><a href="../modules/datatype-xml-format.html">datatype-xml-format</a></li>
            
                <li><a href="../modules/datatype-xml-parse.html">datatype-xml-parse</a></li>
            
                <li><a href="../modules/dd.html">dd</a></li>
            
                <li><a href="../modules/dd-constrain.html">dd-constrain</a></li>
            
                <li><a href="../modules/dd-ddm.html">dd-ddm</a></li>
            
                <li><a href="../modules/dd-ddm-base.html">dd-ddm-base</a></li>
            
                <li><a href="../modules/dd-ddm-drop.html">dd-ddm-drop</a></li>
            
                <li><a href="../modules/dd-delegate.html">dd-delegate</a></li>
            
                <li><a href="../modules/dd-drag.html">dd-drag</a></li>
            
                <li><a href="../modules/dd-drop.html">dd-drop</a></li>
            
                <li><a href="../modules/dd-drop-plugin.html">dd-drop-plugin</a></li>
            
                <li><a href="../modules/dd-gestures.html">dd-gestures</a></li>
            
                <li><a href="../modules/dd-plugin.html">dd-plugin</a></li>
            
                <li><a href="../modules/dd-proxy.html">dd-proxy</a></li>
            
                <li><a href="../modules/dd-scroll.html">dd-scroll</a></li>
            
                <li><a href="../modules/dial.html">dial</a></li>
            
                <li><a href="../modules/dom.html">dom</a></li>
            
                <li><a href="../modules/dom-base.html">dom-base</a></li>
            
                <li><a href="../modules/dom-screen.html">dom-screen</a></li>
            
                <li><a href="../modules/dom-style.html">dom-style</a></li>
            
                <li><a href="../modules/dump.html">dump</a></li>
            
                <li><a href="../modules/editor.html">editor</a></li>
            
                <li><a href="../modules/editor-base.html">editor-base</a></li>
            
                <li><a href="../modules/editor-bidi.html">editor-bidi</a></li>
            
                <li><a href="../modules/editor-br.html">editor-br</a></li>
            
                <li><a href="../modules/editor-lists.html">editor-lists</a></li>
            
                <li><a href="../modules/editor-para.html">editor-para</a></li>
            
                <li><a href="../modules/editor-para-base.html">editor-para-base</a></li>
            
                <li><a href="../modules/editor-para-ie.html">editor-para-ie</a></li>
            
                <li><a href="../modules/editor-tab.html">editor-tab</a></li>
            
                <li><a href="../modules/escape.html">escape</a></li>
            
                <li><a href="../modules/event.html">event</a></li>
            
                <li><a href="../modules/event-base.html">event-base</a></li>
            
                <li><a href="../modules/event-contextmenu.html">event-contextmenu</a></li>
            
                <li><a href="../modules/event-custom.html">event-custom</a></li>
            
                <li><a href="../modules/event-custom-base.html">event-custom-base</a></li>
            
                <li><a href="../modules/event-custom-complex.html">event-custom-complex</a></li>
            
                <li><a href="../modules/event-delegate.html">event-delegate</a></li>
            
                <li><a href="../modules/event-flick.html">event-flick</a></li>
            
                <li><a href="../modules/event-focus.html">event-focus</a></li>
            
                <li><a href="../modules/event-gestures.html">event-gestures</a></li>
            
                <li><a href="../modules/event-hover.html">event-hover</a></li>
            
                <li><a href="../modules/event-key.html">event-key</a></li>
            
                <li><a href="../modules/event-mouseenter.html">event-mouseenter</a></li>
            
                <li><a href="../modules/event-mousewheel.html">event-mousewheel</a></li>
            
                <li><a href="../modules/event-move.html">event-move</a></li>
            
                <li><a href="../modules/event-outside.html">event-outside</a></li>
            
                <li><a href="../modules/event-resize.html">event-resize</a></li>
            
                <li><a href="../modules/event-simulate.html">event-simulate</a></li>
            
                <li><a href="../modules/event-synthetic.html">event-synthetic</a></li>
            
                <li><a href="../modules/event-tap.html">event-tap</a></li>
            
                <li><a href="../modules/event-touch.html">event-touch</a></li>
            
                <li><a href="../modules/event-valuechange.html">event-valuechange</a></li>
            
                <li><a href="../modules/exec-command.html">exec-command</a></li>
            
                <li><a href="../modules/features.html">features</a></li>
            
                <li><a href="../modules/file.html">file</a></li>
            
                <li><a href="../modules/file-flash.html">file-flash</a></li>
            
                <li><a href="../modules/file-html5.html">file-html5</a></li>
            
                <li><a href="../modules/frame.html">frame</a></li>
            
                <li><a href="../modules/gesture-simulate.html">gesture-simulate</a></li>
            
                <li><a href="../modules/get.html">get</a></li>
            
                <li><a href="../modules/get-nodejs.html">get-nodejs</a></li>
            
                <li><a href="../modules/graphics.html">graphics</a></li>
            
                <li><a href="../modules/graphics-group.html">graphics-group</a></li>
            
                <li><a href="../modules/handlebars.html">handlebars</a></li>
            
                <li><a href="../modules/handlebars-base.html">handlebars-base</a></li>
            
                <li><a href="../modules/handlebars-compiler.html">handlebars-compiler</a></li>
            
                <li><a href="../modules/highlight.html">highlight</a></li>
            
                <li><a href="../modules/highlight-accentfold.html">highlight-accentfold</a></li>
            
                <li><a href="../modules/highlight-base.html">highlight-base</a></li>
            
                <li><a href="../modules/history.html">history</a></li>
            
                <li><a href="../modules/history-base.html">history-base</a></li>
            
                <li><a href="../modules/history-hash.html">history-hash</a></li>
            
                <li><a href="../modules/history-hash-ie.html">history-hash-ie</a></li>
            
                <li><a href="../modules/history-html5.html">history-html5</a></li>
            
                <li><a href="../modules/imageloader.html">imageloader</a></li>
            
                <li><a href="../modules/intl.html">intl</a></li>
            
                <li><a href="../modules/io.html">io</a></li>
            
                <li><a href="../modules/io-base.html">io-base</a></li>
            
                <li><a href="../modules/io-form.html">io-form</a></li>
            
                <li><a href="../modules/io-nodejs.html">io-nodejs</a></li>
            
                <li><a href="../modules/io-queue.html">io-queue</a></li>
            
                <li><a href="../modules/io-upload-iframe.html">io-upload-iframe</a></li>
            
                <li><a href="../modules/io-xdr.html">io-xdr</a></li>
            
                <li><a href="../modules/json.html">json</a></li>
            
                <li><a href="../modules/json-parse.html">json-parse</a></li>
            
                <li><a href="../modules/json-stringify.html">json-stringify</a></li>
            
                <li><a href="../modules/jsonp.html">jsonp</a></li>
            
                <li><a href="../modules/jsonp-url.html">jsonp-url</a></li>
            
                <li><a href="../modules/lazy-model-list.html">lazy-model-list</a></li>
            
                <li><a href="../modules/loader.html">loader</a></li>
            
                <li><a href="../modules/loader-base.html">loader-base</a></li>
            
                <li><a href="../modules/loader-yui3.html">loader-yui3</a></li>
            
                <li><a href="../modules/matrix.html">matrix</a></li>
            
                <li><a href="../modules/model.html">model</a></li>
            
                <li><a href="../modules/model-list.html">model-list</a></li>
            
                <li><a href="../modules/model-sync-rest.html">model-sync-rest</a></li>
            
                <li><a href="../modules/node.html">node</a></li>
            
                <li><a href="../modules/node-base.html">node-base</a></li>
            
                <li><a href="../modules/node-core.html">node-core</a></li>
            
                <li><a href="../modules/node-data.html">node-data</a></li>
            
                <li><a href="../modules/node-event-delegate.html">node-event-delegate</a></li>
            
                <li><a href="../modules/node-event-html5.html">node-event-html5</a></li>
            
                <li><a href="../modules/node-event-simulate.html">node-event-simulate</a></li>
            
                <li><a href="../modules/node-flick.html">node-flick</a></li>
            
                <li><a href="../modules/node-focusmanager.html">node-focusmanager</a></li>
            
                <li><a href="../modules/node-load.html">node-load</a></li>
            
                <li><a href="../modules/node-menunav.html">node-menunav</a></li>
            
                <li><a href="../modules/node-pluginhost.html">node-pluginhost</a></li>
            
                <li><a href="../modules/node-screen.html">node-screen</a></li>
            
                <li><a href="../modules/node-scroll-info.html">node-scroll-info</a></li>
            
                <li><a href="../modules/node-style.html">node-style</a></li>
            
                <li><a href="../modules/oop.html">oop</a></li>
            
                <li><a href="../modules/overlay.html">overlay</a></li>
            
                <li><a href="../modules/panel.html">panel</a></li>
            
                <li><a href="../modules/parallel.html">parallel</a></li>
            
                <li><a href="../modules/pjax.html">pjax</a></li>
            
                <li><a href="../modules/pjax-base.html">pjax-base</a></li>
            
                <li><a href="../modules/pjax-content.html">pjax-content</a></li>
            
                <li><a href="../modules/pjax-plugin.html">pjax-plugin</a></li>
            
                <li><a href="../modules/plugin.html">plugin</a></li>
            
                <li><a href="../modules/pluginhost.html">pluginhost</a></li>
            
                <li><a href="../modules/pluginhost-base.html">pluginhost-base</a></li>
            
                <li><a href="../modules/pluginhost-config.html">pluginhost-config</a></li>
            
                <li><a href="../modules/promise.html">promise</a></li>
            
                <li><a href="../modules/querystring.html">querystring</a></li>
            
                <li><a href="../modules/querystring-parse.html">querystring-parse</a></li>
            
                <li><a href="../modules/querystring-parse-simple.html">querystring-parse-simple</a></li>
            
                <li><a href="../modules/querystring-stringify.html">querystring-stringify</a></li>
            
                <li><a href="../modules/querystring-stringify-simple.html">querystring-stringify-simple</a></li>
            
                <li><a href="../modules/queue-promote.html">queue-promote</a></li>
            
                <li><a href="../modules/range-slider.html">range-slider</a></li>
            
                <li><a href="../modules/recordset.html">recordset</a></li>
            
                <li><a href="../modules/recordset-base.html">recordset-base</a></li>
            
                <li><a href="../modules/recordset-filter.html">recordset-filter</a></li>
            
                <li><a href="../modules/recordset-indexer.html">recordset-indexer</a></li>
            
                <li><a href="../modules/recordset-sort.html">recordset-sort</a></li>
            
                <li><a href="../modules/resize.html">resize</a></li>
            
                <li><a href="../modules/resize-contrain.html">resize-contrain</a></li>
            
                <li><a href="../modules/resize-plugin.html">resize-plugin</a></li>
            
                <li><a href="../modules/resize-proxy.html">resize-proxy</a></li>
            
                <li><a href="../modules/rollup.html">rollup</a></li>
            
                <li><a href="../modules/router.html">router</a></li>
            
                <li><a href="../modules/scrollview.html">scrollview</a></li>
            
                <li><a href="../modules/scrollview-base.html">scrollview-base</a></li>
            
                <li><a href="../modules/scrollview-base-ie.html">scrollview-base-ie</a></li>
            
                <li><a href="../modules/scrollview-list.html">scrollview-list</a></li>
            
                <li><a href="../modules/scrollview-paginator.html">scrollview-paginator</a></li>
            
                <li><a href="../modules/scrollview-scrollbars.html">scrollview-scrollbars</a></li>
            
                <li><a href="../modules/selection.html">selection</a></li>
            
                <li><a href="../modules/selector-css2.html">selector-css2</a></li>
            
                <li><a href="../modules/selector-css3.html">selector-css3</a></li>
            
                <li><a href="../modules/selector-native.html">selector-native</a></li>
            
                <li><a href="../modules/series-area.html">series-area</a></li>
            
                <li><a href="../modules/series-area-stacked.html">series-area-stacked</a></li>
            
                <li><a href="../modules/series-areaspline.html">series-areaspline</a></li>
            
                <li><a href="../modules/series-areaspline-stacked.html">series-areaspline-stacked</a></li>
            
                <li><a href="../modules/series-bar.html">series-bar</a></li>
            
                <li><a href="../modules/series-bar-stacked.html">series-bar-stacked</a></li>
            
                <li><a href="../modules/series-base.html">series-base</a></li>
            
                <li><a href="../modules/series-candlestick.html">series-candlestick</a></li>
            
                <li><a href="../modules/series-cartesian.html">series-cartesian</a></li>
            
                <li><a href="../modules/series-column.html">series-column</a></li>
            
                <li><a href="../modules/series-column-stacked.html">series-column-stacked</a></li>
            
                <li><a href="../modules/series-combo.html">series-combo</a></li>
            
                <li><a href="../modules/series-combo-stacked.html">series-combo-stacked</a></li>
            
                <li><a href="../modules/series-combospline.html">series-combospline</a></li>
            
                <li><a href="../modules/series-combospline-stacked.html">series-combospline-stacked</a></li>
            
                <li><a href="../modules/series-curve-util.html">series-curve-util</a></li>
            
                <li><a href="../modules/series-fill-util.html">series-fill-util</a></li>
            
                <li><a href="../modules/series-histogram.html">series-histogram</a></li>
            
                <li><a href="../modules/series-line.html">series-line</a></li>
            
                <li><a href="../modules/series-line-stacked.html">series-line-stacked</a></li>
            
                <li><a href="../modules/series-line-util.html">series-line-util</a></li>
            
                <li><a href="../modules/series-marker.html">series-marker</a></li>
            
                <li><a href="../modules/series-marker-stacked.html">series-marker-stacked</a></li>
            
                <li><a href="../modules/series-ohlc.html">series-ohlc</a></li>
            
                <li><a href="../modules/series-pie.html">series-pie</a></li>
            
                <li><a href="../modules/series-plot-util.html">series-plot-util</a></li>
            
                <li><a href="../modules/series-range.html">series-range</a></li>
            
                <li><a href="../modules/series-spline.html">series-spline</a></li>
            
                <li><a href="../modules/series-spline-stacked.html">series-spline-stacked</a></li>
            
                <li><a href="../modules/series-stacked.html">series-stacked</a></li>
            
                <li><a href="../modules/shim-plugin.html">shim-plugin</a></li>
            
                <li><a href="../modules/slider.html">slider</a></li>
            
                <li><a href="../modules/slider-base.html">slider-base</a></li>
            
                <li><a href="../modules/slider-value-range.html">slider-value-range</a></li>
            
                <li><a href="../modules/sortable.html">sortable</a></li>
            
                <li><a href="../modules/sortable-scroll.html">sortable-scroll</a></li>
            
                <li><a href="../modules/stylesheet.html">stylesheet</a></li>
            
                <li><a href="../modules/substitute.html">substitute</a></li>
            
                <li><a href="../modules/swf.html">swf</a></li>
            
                <li><a href="../modules/swfdetect.html">swfdetect</a></li>
            
                <li><a href="../modules/tabview.html">tabview</a></li>
            
                <li><a href="../modules/template.html">template</a></li>
            
                <li><a href="../modules/template-base.html">template-base</a></li>
            
                <li><a href="../modules/template-micro.html">template-micro</a></li>
            
                <li><a href="../modules/test.html">test</a></li>
            
                <li><a href="../modules/test-console.html">test-console</a></li>
            
                <li><a href="../modules/text.html">text</a></li>
            
                <li><a href="../modules/text-accentfold.html">text-accentfold</a></li>
            
                <li><a href="../modules/text-wordbreak.html">text-wordbreak</a></li>
            
                <li><a href="../modules/timers.html">timers</a></li>
            
                <li><a href="../modules/transition.html">transition</a></li>
            
                <li><a href="../modules/transition-timer.html">transition-timer</a></li>
            
                <li><a href="../modules/tree.html">tree</a></li>
            
                <li><a href="../modules/tree-labelable.html">tree-labelable</a></li>
            
                <li><a href="../modules/tree-lazy.html">tree-lazy</a></li>
            
                <li><a href="../modules/tree-node.html">tree-node</a></li>
            
                <li><a href="../modules/tree-openable.html">tree-openable</a></li>
            
                <li><a href="../modules/tree-selectable.html">tree-selectable</a></li>
            
                <li><a href="../modules/tree-sortable.html">tree-sortable</a></li>
            
                <li><a href="../modules/uploader.html">uploader</a></li>
            
                <li><a href="../modules/uploader-flash.html">uploader-flash</a></li>
            
                <li><a href="../modules/uploader-html5.html">uploader-html5</a></li>
            
                <li><a href="../modules/uploader-queue.html">uploader-queue</a></li>
            
                <li><a href="../modules/view.html">view</a></li>
            
                <li><a href="../modules/view-node-map.html">view-node-map</a></li>
            
                <li><a href="../modules/widget.html">widget</a></li>
            
                <li><a href="../modules/widget-anim.html">widget-anim</a></li>
            
                <li><a href="../modules/widget-autohide.html">widget-autohide</a></li>
            
                <li><a href="../modules/widget-base.html">widget-base</a></li>
            
                <li><a href="../modules/widget-base-ie.html">widget-base-ie</a></li>
            
                <li><a href="../modules/widget-buttons.html">widget-buttons</a></li>
            
                <li><a href="../modules/widget-child.html">widget-child</a></li>
            
                <li><a href="../modules/widget-htmlparser.html">widget-htmlparser</a></li>
            
                <li><a href="../modules/widget-locale.html">widget-locale</a></li>
            
                <li><a href="../modules/widget-modality.html">widget-modality</a></li>
            
                <li><a href="../modules/widget-parent.html">widget-parent</a></li>
            
                <li><a href="../modules/widget-position.html">widget-position</a></li>
            
                <li><a href="../modules/widget-position-align.html">widget-position-align</a></li>
            
                <li><a href="../modules/widget-position-constrain.html">widget-position-constrain</a></li>
            
                <li><a href="../modules/widget-skin.html">widget-skin</a></li>
            
                <li><a href="../modules/widget-stack.html">widget-stack</a></li>
            
                <li><a href="../modules/widget-stdmod.html">widget-stdmod</a></li>
            
                <li><a href="../modules/widget-uievents.html">widget-uievents</a></li>
            
                <li><a href="../modules/yql.html">yql</a></li>
            
                <li><a href="../modules/yql-jsonp.html">yql-jsonp</a></li>
            
                <li><a href="../modules/yql-nodejs.html">yql-nodejs</a></li>
            
                <li><a href="../modules/yql-winjs.html">yql-winjs</a></li>
            
                <li><a href="../modules/yui.html">yui</a></li>
            
                <li><a href="../modules/yui-base.html">yui-base</a></li>
            
                <li><a href="../modules/yui-later.html">yui-later</a></li>
            
                <li><a href="../modules/yui-log.html">yui-log</a></li>
            
                <li><a href="../modules/yui-throttle.html">yui-throttle</a></li>
            
            </ul>
        </div>
    </div>
</div>

            </div>
        </div>
        <div class="yui3-u-3-4">
                <div id="api-options">
        Show:
        <label for="api-show-inherited">
            <input type="checkbox" id="api-show-inherited" checked>
            Inherited
        </label>

        <label for="api-show-protected">
            <input type="checkbox" id="api-show-protected">
            Protected
        </label>

        <label for="api-show-private">
            <input type="checkbox" id="api-show-private">
            Private
        </label>
        <label for="api-show-deprecated">
            <input type="checkbox" id="api-show-deprecated">
            Deprecated
        </label>

    </div>


            <div class="apidocs">
                <div id="docs-main">
                    <div class="content">
                        <h1>Router Class</h1>
<div class="box meta">
    

    
        <div class="extends">
            Extends <a href="../classes/Base.html" class="crosslink">Base</a>
        </div>
    

    
        <div class="foundat">
            Defined in: <a href="../files/app_js_router.js.html#l38"><code>app&#x2F;js&#x2F;router.js:38</code></a>
        </div>
    

    
        
            Module: <a href="../modules/router.html">router</a><br>
            Parent Module: <a href="../modules/app.html">app</a>
        
    

    
        <p>Available since 3.4.0</p>
    
</div>



<div class="box intro">
    <p>Provides URL-based routing using HTML5 <code>pushState()</code> or the location hash.</p>

<p>This makes it easy to wire up route handlers for different application states
while providing full back/forward navigation support and bookmarkable, shareable
URLs.</p>
</div>


    <div class="constructor">
        <h2>Constructor</h2>
        <div id="method_Router" class="method item">
    <h3 class="name"><code>Router</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code class="optional">[config]</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l38"><code>app&#x2F;js&#x2F;router.js:38</code></a>
        
        </p>


        

        
            <p>Available since 3.4.0</p>
        
    </div>

    <div class="description">
        
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name optional">[config]</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>Config properties.</p>
                    </div>

                    
                        <ul class="params-list">
                            
                            <li class="param">
                                
                                    <code class="param-name optional">[html5]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>
                                

                                <div class="param-description">
                                    <p>Overrides the default capability detection
        and forces this router to use (<code>true</code>) or not use (<code>false</code>) HTML5
        history.</p>
                                </div>

                                
                            </li>
                            
                            <li class="param">
                                
                                    <code class="param-name optional">[root=&#x27;&#x27;]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>
                                

                                <div class="param-description">
                                    <p>Root path from which all routes should be
        evaluated.</p>
                                </div>

                                
                            </li>
                            
                            <li class="param">
                                
                                    <code class="param-name optional">[routes=[]</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
                                    <span class="flag optional" title="This parameter is optional.">optional</span>
                                

                                <div class="param-description">
                                    <p>Array of route definition objects.</p>
                                </div>

                                
                            </li>
                            
                        </ul>
                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

    </div>


<div id="classdocs" class="tabview">
    <ul class="api-class-tabs">
        <li class="api-class-tab index"><a href="#index">Index</a></li>

        
            <li class="api-class-tab methods"><a href="#methods">Methods</a></li>
        
        
            <li class="api-class-tab properties"><a href="#properties">Properties</a></li>
        
        
            <li class="api-class-tab attrs"><a href="#attrs">Attributes</a></li>
        
        
            <li class="api-class-tab events"><a href="#events">Events</a></li>
        
    </ul>

    <div>
        <div id="index" class="api-class-tabpanel index">
            <h2 class="off-left">Item Index</h2>

            
                <div class="index-section methods">
                    <h3>Methods</h3>

                    <ul class="index-list methods extends">
                        
                            <li class="index-item method private inherited">
                                <a href="#method__addAttrs">_addAttrs</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__addLazyAttr">_addLazyAttr</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__afterHistoryChange">_afterHistoryChange</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__aggregateAttrs">_aggregateAttrs</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__attrCfgHash">_attrCfgHash</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__baseDestroy">_baseDestroy</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__baseInit">_baseInit</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__cloneDefaultValue">_cloneDefaultValue</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__decode">_decode</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__defAttrChangeFn">_defAttrChangeFn</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected inherited">
                                <a href="#method__defDestroyFn">_defDestroyFn</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected inherited">
                                <a href="#method__defInitFn">_defInitFn</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__defReadyFn">_defReadyFn</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__dequeue">_dequeue</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__destroyHierarchy">_destroyHierarchy</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__dispatch">_dispatch</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__filterAdHocAttrs">_filterAdHocAttrs</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__filterAttrCfgs">_filterAttrCfgs</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__fireAttrChange">_fireAttrChange</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected inherited">
                                <a href="#method__getAttr">_getAttr</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected inherited">
                                <a href="#method__getAttrCfg">_getAttrCfg</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected inherited">
                                <a href="#method__getAttrCfgs">_getAttrCfgs</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__getAttrInitVal">_getAttrInitVal</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected inherited">
                                <a href="#method__getAttrs">_getAttrs</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected inherited">
                                <a href="#method__getClasses">_getClasses</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__getFullType">_getFullType</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__getHashPath">_getHashPath</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__getOrigin">_getOrigin</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__getPath">_getPath</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__getPathRoot">_getPathRoot</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__getQuery">_getQuery</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__getRegex">_getRegex</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__getRequest">_getRequest</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__getResponse">_getResponse</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__getRoutes">_getRoutes</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__getStateVal">_getStateVal</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__getType">_getType</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__getURL">_getURL</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__hasSameOrigin">_hasSameOrigin</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__initAttrHost">_initAttrHost</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited inherited">
                                <a href="#method__initAttribute">_initAttribute</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected inherited">
                                <a href="#method__initAttrs">_initAttrs</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__initBase">_initBase</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__initHierarchy">_initHierarchy</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__initHierarchyData">_initHierarchyData</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__isLazyAttr">_isLazyAttr</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__joinURL">_joinURL</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__monitor">_monitor</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__normalizePath">_normalizePath</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__normAttrVals">_normAttrVals</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__parseQuery">_parseQuery</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__parseType">_parseType</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__preInitEventCfg">_preInitEventCfg</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected deprecated inherited">
                                <a href="#method__protectAttrs">_protectAttrs</a>

                                
                                
                                    <span class="flag deprecated">deprecated</span>
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__publish">_publish</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__queue">_queue</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__resolvePath">_resolvePath</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__resolveURL">_resolveURL</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__save">_save</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected inherited inherited">
                                <a href="#method__set">_set</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected inherited">
                                <a href="#method__setAttr">_setAttr</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected inherited inherited">
                                <a href="#method__setAttrs">_setAttrs</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__setAttrVal">_setAttrVal</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__setRoutes">_setRoutes</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__setStateVal">_setStateVal</a>

                                
                                
                            </li>
                        
                            <li class="index-item method protected">
                                <a href="#method__upgradeURL">_upgradeURL</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_addAttr">addAttr</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_addAttrs">addAttrs</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_addTarget">addTarget</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_after">after</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_attrAdded">attrAdded</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_before">before</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_bubble">bubble</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited inherited">
                                <a href="#method_destroy">destroy</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_detach">detach</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_detachAll">detachAll</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_dispatch">dispatch</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_dispatch">dispatch</a>

                                
                                    <span class="flag static">static</span>
                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_fire">fire</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_get">get</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_getAttrs">getAttrs</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_getEvent">getEvent</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_getPath">getPath</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_getTargets">getTargets</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_hasRoute">hasRoute</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited inherited">
                                <a href="#method_init">init</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_match">match</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_modifyAttr">modifyAttr</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_on">on</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_once">once</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_onceAfter">onceAfter</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_parseType">parseType</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_publish">publish</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_removeAttr">removeAttr</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_removeQuery">removeQuery</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_removeRoot">removeRoot</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_removeTarget">removeTarget</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_replace">replace</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_reset">reset</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_route">route</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_save">save</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited inherited">
                                <a href="#method_set">set</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited inherited">
                                <a href="#method_setAttrs">setAttrs</a>

                                
                                
                            </li>
                        
                            <li class="index-item method deprecated inherited">
                                <a href="#method_subscribe">subscribe</a>

                                
                                
                                    <span class="flag deprecated">deprecated</span>
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_toString">toString</a>

                                
                                
                            </li>
                        
                            <li class="index-item method deprecated inherited">
                                <a href="#method_unsubscribe">unsubscribe</a>

                                
                                
                                    <span class="flag deprecated">deprecated</span>
                                
                            </li>
                        
                            <li class="index-item method deprecated inherited">
                                <a href="#method_unsubscribeAll">unsubscribeAll</a>

                                
                                
                                    <span class="flag deprecated">deprecated</span>
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_upgrade">upgrade</a>

                                
                                
                            </li>
                        
                    </ul>
                </div>
            

            
                <div class="index-section properties">
                    <h3>Properties</h3>

                    <ul class="index-list properties extends">
                        
                            <li class="index-item property protected inherited">
                                <a href="#property__allowAdHocAttrs">_allowAdHocAttrs</a>

                                
                                
                            </li>
                        
                            <li class="index-item property protected">
                                <a href="#property__dispatched">_dispatched</a>

                                
                                
                            </li>
                        
                            <li class="index-item property protected">
                                <a href="#property__dispatching">_dispatching</a>

                                
                                
                            </li>
                        
                            <li class="index-item property protected">
                                <a href="#property__historyEvents">_historyEvents</a>

                                
                                
                            </li>
                        
                            <li class="index-item property protected">
                                <a href="#property__html5">_html5</a>

                                
                                
                            </li>
                        
                            <li class="index-item property protected">
                                <a href="#property__ready">_ready</a>

                                
                                
                            </li>
                        
                            <li class="index-item property protected">
                                <a href="#property__regexPathParam">_regexPathParam</a>

                                
                                
                            </li>
                        
                            <li class="index-item property protected">
                                <a href="#property__regexUrlOrigin">_regexUrlOrigin</a>

                                
                                
                            </li>
                        
                            <li class="index-item property protected">
                                <a href="#property__regexUrlQuery">_regexUrlQuery</a>

                                
                                
                            </li>
                        
                            <li class="index-item property deprecated inherited">
                                <a href="#property_name">name</a>

                                
                                
                                    <span class="flag deprecated">deprecated</span>
                                
                            </li>
                        
                    </ul>
                </div>
            

            
                <div class="index-section attrs">
                    <h3>Attributes</h3>

                    <ul class="index-list attrs extends">
                        
                            <li class="index-item attr inherited">
                                <a href="#attr_destroyed">destroyed</a>
                            </li>
                        
                            <li class="index-item attr">
                                <a href="#attr_html5">html5</a>
                            </li>
                        
                            <li class="index-item attr inherited">
                                <a href="#attr_initialized">initialized</a>
                            </li>
                        
                            <li class="index-item attr">
                                <a href="#attr_root">root</a>
                            </li>
                        
                            <li class="index-item attr">
                                <a href="#attr_routes">routes</a>
                            </li>
                        
                    </ul>
                </div>
            

            
                <div class="index-section events">
                    <h3>Events</h3>

                    <ul class="index-list events extends">
                        
                            <li class="index-item event inherited">
                                <a href="#event_destroy">destroy</a>

                                
                                
                            </li>
                        
                            <li class="index-item event inherited">
                                <a href="#event_init">init</a>

                                
                                
                            </li>
                        
                            <li class="index-item event">
                                <a href="#event_ready">ready</a>

                                
                                
                            </li>
                        
                    </ul>
                </div>
            
        </div>

        
            <div id="methods" class="api-class-tabpanel">
                <h2 class="off-left">Methods</h2>

                
                    <div id="method__addAttrs" class="method item private inherited">
    <h3 class="name"><code>_addAttrs</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>cfgs</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>values</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>lazy</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeCore.html#method__addAttrs">AttributeCore</a>:
            
        
        
        <a href="../files/attribute_js_AttributeCore.js.html#l836"><code>attribute&#x2F;js&#x2F;AttributeCore.js:836</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Implementation behind the public addAttrs method.</p>

<p>This method is invoked directly by get if it encounters a scenario
in which an attribute's valueFn attempts to obtain the
value an attribute in the same group of attributes, which has not yet
been added (on demand initialization).</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">cfgs</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>An object with attribute name/configuration pairs.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">values</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>An object with attribute name/value pairs, defining the initial values to apply.
Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">lazy</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                    

                    

                    <div class="param-description">
                        <p>Whether or not to delay the intialization of these attributes until the first call to get/set.
Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration.
See <a href="#method_addAttr">addAttr</a>.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method__addLazyAttr" class="method item private inherited">
    <h3 class="name"><code>_addLazyAttr</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>name</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code class="optional">[lazyCfg]</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeCore.html#method__addLazyAttr">AttributeCore</a>:
            
        
        
        <a href="../files/attribute_js_AttributeCore.js.html#l382"><code>attribute&#x2F;js&#x2F;AttributeCore.js:382</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Finishes initializing an attribute which has been lazily added.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>The name of the attribute</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name optional">[lazyCfg]</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>Optional config hash for the attribute. This is added for performance
along the critical path, where the calling method has already obtained lazy config from state.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method__afterHistoryChange" class="method item protected">
    <h3 class="name"><code>_afterHistoryChange</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>e</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l1269"><code>app&#x2F;js&#x2F;router.js:1269</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Handles <code>history:change</code> and <code>hashchange</code> events.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">e</code>
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
                    

                    

                    <div class="param-description">
                         
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method__aggregateAttrs" class="method item private inherited">
    <h3 class="name"><code>_aggregateAttrs</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>allAttrs</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
        </span>
    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/BaseCore.html#method__aggregateAttrs">BaseCore</a>:
            
        
        
        <a href="../files/base_js_BaseCore.js.html#l575"><code>base&#x2F;js&#x2F;BaseCore.js:575</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>A helper method, used by _initHierarchyData to aggregate
attribute configuration across the instances class hierarchy.</p>

<p>The method will protect the attribute configuration value to protect the statically defined
default value in ATTRS if required (if the value is an object literal, array or the
attribute configuration has cloneDefaultValue set to shallow or deep).</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">allAttrs</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
                    

                    

                    <div class="param-description">
                        <p>An array of ATTRS definitions across classes in the hierarchy
(subclass first, Base last)</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
                    
                    The aggregate set of ATTRS definitions for the instance
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__attrCfgHash" class="method item private inherited">
    <h3 class="name"><code>_attrCfgHash</code></h3>

    
        <span class="paren">()</span>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/BaseCore.html#method__attrCfgHash">BaseCore</a>:
            
        
        
        <a href="../files/base_js_BaseCore.js.html#l538"><code>base&#x2F;js&#x2F;BaseCore.js:538</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Utility method to define the attribute hash used to filter/whitelist property mixes for
this class for iteration performance reasons.</p>
    </div>

    

    

    
</div>

                
                    <div id="method__baseDestroy" class="method item private inherited">
    <h3 class="name"><code>_baseDestroy</code></h3>

    
        <span class="paren">()</span>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/BaseCore.html#method__baseDestroy">BaseCore</a>:
            
        
        
        <a href="../files/base_js_BaseCore.js.html#l309"><code>base&#x2F;js&#x2F;BaseCore.js:309</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Internal destroy implementation for BaseCore</p>
    </div>

    

    

    
</div>

                
                    <div id="method__baseInit" class="method item private inherited">
    <h3 class="name"><code>_baseInit</code></h3>

    
        <span class="paren">()</span>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/BaseCore.html#method__baseInit">BaseCore</a>:
            
        
        
        <a href="../files/base_js_BaseCore.js.html#l281"><code>base&#x2F;js&#x2F;BaseCore.js:281</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Internal initialization implementation for BaseCore</p>
    </div>

    

    

    
</div>

                
                    <div id="method__cloneDefaultValue" class="method item private inherited">
    <h3 class="name"><code>_cloneDefaultValue</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>cfg</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/BaseCore.html#method__cloneDefaultValue">BaseCore</a>:
            
        
        
        <a href="../files/base_js_BaseCore.js.html#l549"><code>base&#x2F;js&#x2F;BaseCore.js:549</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>This method assumes that the value has already been checked to be an object.
Since it's on a critical path, we don't want to re-do the check.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">cfg</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method__decode" class="method item protected">
    <h3 class="name"><code>_decode</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>string</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l564"><code>app&#x2F;js&#x2F;router.js:564</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Wrapper around <code>decodeURIComponent</code> that also converts <code>+</code> chars into
spaces.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">string</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>String to decode.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    
                    Decoded string.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__defAttrChangeFn" class="method item private inherited">
    <h3 class="name"><code>_defAttrChangeFn</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>e</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeObservable.html#method__defAttrChangeFn">AttributeObservable</a>:
            
        
        
        <a href="../files/attribute_js_AttributeObservable.js.html#l186"><code>attribute&#x2F;js&#x2F;AttributeObservable.js:186</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Default function for attribute change events.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">e</code>
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
                    

                    

                    <div class="param-description">
                        <p>The event object for attribute change events.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method__defDestroyFn" class="method item protected inherited">
    <h3 class="name"><code>_defDestroyFn</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>e</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/BaseObservable.html#method__defDestroyFn">BaseObservable</a>:
            
        
        
        <a href="../files/base_js_BaseObservable.js.html#l190"><code>base&#x2F;js&#x2F;BaseObservable.js:190</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Default destroy event handler</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">e</code>
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
                    

                    

                    <div class="param-description">
                        <p>Event object</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method__defInitFn" class="method item protected inherited">
    <h3 class="name"><code>_defInitFn</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>e</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/BaseObservable.html#method__defInitFn">BaseObservable</a>:
            
        
        
        <a href="../files/base_js_BaseObservable.js.html#l178"><code>base&#x2F;js&#x2F;BaseObservable.js:178</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Default init event handler</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">e</code>
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
                    

                    

                    <div class="param-description">
                        <p>Event object, with a cfg property which
refers to the configuration object passed to the constructor.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method__defReadyFn" class="method item protected">
    <h3 class="name"><code>_defReadyFn</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>e</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l1300"><code>app&#x2F;js&#x2F;router.js:1300</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Default handler for the <code>ready</code> event.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">e</code>
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
                    

                    

                    <div class="param-description">
                         
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method__dequeue" class="method item protected">
    <h3 class="name"><code>_dequeue</code></h3>

    
        <span class="paren">()</span>
    

    

    

    
        <span class="flag protected">protected</span>
    

    

    

    
        <span class="flag chainable">chainable</span>
    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l577"><code>app&#x2F;js&#x2F;router.js:577</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Shifts the topmost <code>_save()</code> call off the queue and executes it. Does
nothing if the queue is empty.</p>
    </div>

    

    

    
</div>

                
                    <div id="method__destroyHierarchy" class="method item private inherited">
    <h3 class="name"><code>_destroyHierarchy</code></h3>

    
        <span class="paren">()</span>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/BaseCore.html#method__destroyHierarchy">BaseCore</a>:
            
        
        
        <a href="../files/base_js_BaseCore.js.html#l721"><code>base&#x2F;js&#x2F;BaseCore.js:721</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Destroys the class hierarchy for this instance by invoking
the destructor method on the prototype of each class in the hierarchy.</p>
    </div>

    

    

    
</div>

                
                    <div id="method__dispatch" class="method item protected">
    <h3 class="name"><code>_dispatch</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>path</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>url</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>src</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    
        <span class="flag protected">protected</span>
    

    

    

    
        <span class="flag chainable">chainable</span>
    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l605"><code>app&#x2F;js&#x2F;router.js:605</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Dispatches to the first route handler that matches the specified <em>path</em>.</p>

<p>If called before the <code>ready</code> event has fired, the dispatch will be aborted.
This ensures normalized behavior between Chrome (which fires a <code>popstate</code>
event on every pageview) and other browsers (which do not).</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">path</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>URL path.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">url</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>Full URL.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">src</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>What initiated the dispatch.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method__filterAdHocAttrs" class="method item private inherited">
    <h3 class="name"><code>_filterAdHocAttrs</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>allAttrs</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>userVals</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
        </span>
    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/BaseCore.html#method__filterAdHocAttrs">BaseCore</a>:
            
        
        
        <a href="../files/base_js_BaseCore.js.html#l427"><code>base&#x2F;js&#x2F;BaseCore.js:427</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">allAttrs</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>The set of all attribute configurations for this instance.
Attributes will be removed from this set, if they belong to the filtered class, so
that by the time all classes are processed, allCfgs will be empty.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">userVals</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>The config object passed in by the user, from which adhoc attrs are to be filtered.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
                    
                    The set of adhoc attributes passed in, in the form
of an object with attribute name/configuration pairs.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__filterAttrCfgs" class="method item private inherited">
    <h3 class="name"><code>_filterAttrCfgs</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>clazz</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>allCfgs</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
        </span>
    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/BaseCore.html#method__filterAttrCfgs">BaseCore</a>:
            
        
        
        <a href="../files/base_js_BaseCore.js.html#l356"><code>base&#x2F;js&#x2F;BaseCore.js:356</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>A helper method used when processing ATTRS across the class hierarchy during
initialization. Returns a disposable object with the attributes defined for
the provided class, extracted from the set of all attributes passed in.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">clazz</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
                    

                    

                    <div class="param-description">
                        <p>The class for which the desired attributes are required.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">allCfgs</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>The set of all attribute configurations for this instance.
Attributes will be removed from this set, if they belong to the filtered class, so
that by the time all classes are processed, allCfgs will be empty.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
                    
                    The set of attributes belonging to the class passed in, in the form
of an object with attribute name/configuration pairs.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__fireAttrChange" class="method item private inherited">
    <h3 class="name"><code>_fireAttrChange</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>attrName</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>subAttrName</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>currVal</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>newVal</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>opts</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code class="optional">[cfg]</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeObservable.html#method__fireAttrChange">AttributeObservable</a>:
            
        
        
        <a href="../files/attribute_js_AttributeObservable.js.html#l120"><code>attribute&#x2F;js&#x2F;AttributeObservable.js:120</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Utility method to help setup the event payload and fire the attribute change event.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">attrName</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The name of the attribute</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">subAttrName</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The full path of the property being changed,
if this is a sub-attribute value being change. Otherwise null.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">currVal</code>
                        <span class="type">Any</span>
                    

                    

                    <div class="param-description">
                        <p>The current value of the attribute</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">newVal</code>
                        <span class="type">Any</span>
                    

                    

                    <div class="param-description">
                        <p>The new value of the attribute</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">opts</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>Any additional event data to mix into the attribute change event's event facade.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name optional">[cfg]</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>The attribute config stored in State, if already available.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method__getAttr" class="method item protected inherited">
    <h3 class="name"><code>_getAttr</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>name</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type">Any</span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    
        <span class="flag chainable">chainable</span>
    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeCore.html#method__getAttr">AttributeCore</a>:
            
        
        
        <a href="../files/attribute_js_AttributeCore.js.html#l543"><code>attribute&#x2F;js&#x2F;AttributeCore.js:543</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Provides the common implementation for the public get method,
allowing Attribute hosts to over-ride either method.</p>

<p>See <a href="#method_get">get</a> for argument details.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The name of the attribute.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type">Any</span>:
                    
                    The value of the attribute.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__getAttrCfg" class="method item protected inherited">
    <h3 class="name"><code>_getAttrCfg</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>name</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeExtras.html#method__getAttrCfg">AttributeExtras</a>:
            
        
        
        <a href="../files/attribute_js_AttributeExtras.js.html#l114"><code>attribute&#x2F;js&#x2F;AttributeExtras.js:114</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Returns an object with the configuration properties (and value)
for the given attribute. If attrName is not provided, returns the
configuration properties for all attributes.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>Optional. The attribute name. If not provided, the method will return the configuration for all attributes.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
                    
                    The configuration properties for the given attribute, or all attributes.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__getAttrCfgs" class="method item protected inherited">
    <h3 class="name"><code>_getAttrCfgs</code></h3>

    
        <span class="paren">()</span>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/BaseCore.html#method__getAttrCfgs">BaseCore</a>:
            
        
        
        <a href="../files/base_js_BaseCore.js.html#l339"><code>base&#x2F;js&#x2F;BaseCore.js:339</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Returns an aggregated set of attribute configurations, by traversing
the class hierarchy.</p>
    </div>

    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
                    
                    The hash of attribute configurations, aggregated across classes in the hierarchy
This value is cached the first time the method, or _getClasses, is invoked. Subsequent invocations return
the cached value.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__getAttrInitVal" class="method item private inherited">
    <h3 class="name"><code>_getAttrInitVal</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>attr</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>cfg</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>initValues</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type">Any</span>
        </span>
    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeCore.html#method__getAttrInitVal">AttributeCore</a>:
            
        
        
        <a href="../files/attribute_js_AttributeCore.js.html#l945"><code>attribute&#x2F;js&#x2F;AttributeCore.js:945</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Returns the initial value of the given attribute from
either the default configuration provided, or the
over-ridden value if it exists in the set of initValues
provided and the attribute is not read-only.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">attr</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The name of the attribute</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">cfg</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>The attribute configuration object</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">initValues</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>The object with simple and complex attribute name/value pairs returned from _normAttrVals</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type">Any</span>:
                    
                    The initial value of the attribute.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__getAttrs" class="method item protected inherited">
    <h3 class="name"><code>_getAttrs</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>attrs</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeCore.html#method__getAttrs">AttributeCore</a>:
            
        
        
        <a href="../files/attribute_js_AttributeCore.js.html#l774"><code>attribute&#x2F;js&#x2F;AttributeCore.js:774</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Implementation behind the public getAttrs method, to get multiple attribute values.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">attrs</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span>
                    

                    

                    <div class="param-description">
                        <p>Optional. An array of attribute names. If omitted, all attribute values are
returned. If set to true, all attributes modified from their initial values are returned.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
                    
                    An object with attribute name/value pairs.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__getClasses" class="method item protected inherited">
    <h3 class="name"><code>_getClasses</code></h3>

    
        <span class="paren">()</span>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/BaseCore.html#method__getClasses">BaseCore</a>:
            
        
        
        <a href="../files/base_js_BaseCore.js.html#l323"><code>base&#x2F;js&#x2F;BaseCore.js:323</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Returns the class hierarchy for this object, with BaseCore being the last class in the array.</p>
    </div>

    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span>:
                    
                    An array of classes (constructor functions), making up the class hierarchy for this object.
This value is cached the first time the method, or _getAttrCfgs, is invoked. Subsequent invocations return the
cached value.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__getFullType" class="method item private inherited">
    <h3 class="name"><code>_getFullType</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>type</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>
    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/EventTarget.html#method__getFullType">EventTarget</a>:
            
        
        
        <a href="../files/event-custom_js_event-target.js.html#l586"><code>event-custom&#x2F;js&#x2F;event-target.js:586</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Returns the fully qualified type, given a short type string.
That is, returns "foo:bar" when given "bar" if "foo" is the configured prefix.</p>

<p>NOTE: This method, unlike _getType, does no checking of the value passed in, and
is designed to be used with the low level _publish() method, for critical path
implementations which need to fast-track publish for performance reasons.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">type</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The short type to prefix</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    
                    The prefixed type, if a prefix is set, otherwise the type passed in
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__getHashPath" class="method item protected">
    <h3 class="name"><code>_getHashPath</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code class="optional">[hash]</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l697"><code>app&#x2F;js&#x2F;router.js:697</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Returns the resolved path from the hash fragment, or an empty string if the
hash is not path-like.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name optional">[hash]</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>Hash fragment to resolve into a path. By default this
    will be the hash from the current URL.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    
                    Current hash path, or an empty string if the hash is empty.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__getOrigin" class="method item protected">
    <h3 class="name"><code>_getOrigin</code></h3>

    
        <span class="paren">()</span>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l718"><code>app&#x2F;js&#x2F;router.js:718</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Gets the location origin (i.e., protocol, host, and port) as a URL.</p>
    </div>

    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    
                    Location origin (i.e., protocol, host, and port).
                
            </div>
        </div>
    

    
        <div class="example">
            <h4>Example:</h4>

            <div class="example-content">
                <pre class="code prettyprint"><code>http://example.com
</code></pre>
            </div>
        </div>
    
</div>

                
                    <div id="method__getPath" class="method item protected">
    <h3 class="name"><code>_getPath</code></h3>

    
        <span class="paren">()</span>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l733"><code>app&#x2F;js&#x2F;router.js:733</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Gets the current route path, relative to the <code>root</code> (if any).</p>
    </div>

    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    
                    Current route path.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__getPathRoot" class="method item protected">
    <h3 class="name"><code>_getPathRoot</code></h3>

    
        <span class="paren">()</span>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l747"><code>app&#x2F;js&#x2F;router.js:747</code></a>
        
        </p>


        

        
            <p>Available since 3.5.0</p>
        
    </div>

    <div class="description">
        <p>Returns the current path root after popping off the last path segment,
making it useful for resolving other URL paths against.</p>

<p>The path root will always begin and end with a '/'.</p>
    </div>

    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    
                    The URL's path root.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__getQuery" class="method item protected">
    <h3 class="name"><code>_getQuery</code></h3>

    
        <span class="paren">()</span>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l773"><code>app&#x2F;js&#x2F;router.js:773</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Gets the current route query string.</p>
    </div>

    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    
                    Current route query string.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__getRegex" class="method item protected">
    <h3 class="name"><code>_getRegex</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>path</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>keys</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/RegExp" class="crosslink external" target="_blank">RegExp</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l794"><code>app&#x2F;js&#x2F;router.js:794</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Creates a regular expression from the given route specification. If <em>path</em>
is already a regex, it will be returned unmodified.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">path</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/RegExp" class="crosslink external" target="_blank">RegExp</a></span>
                    

                    

                    <div class="param-description">
                        <p>Route path specification.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">keys</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
                    

                    

                    <div class="param-description">
                        <p>Array reference to which route parameter names will be
  added.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/RegExp" class="crosslink external" target="_blank">RegExp</a></span>:
                    
                    Route regex.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__getRequest" class="method item protected">
    <h3 class="name"><code>_getRequest</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>path</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>url</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>src</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l829"><code>app&#x2F;js&#x2F;router.js:829</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Gets a request object that can be passed to a route handler.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">path</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>Current path being dispatched.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">url</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>Current full URL being dispatched.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">src</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>What initiated the dispatch.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
                    
                    Request object.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__getResponse" class="method item protected">
    <h3 class="name"><code>_getResponse</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>req</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l848"><code>app&#x2F;js&#x2F;router.js:848</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Gets a response object that can be passed to a route handler.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">req</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>Request object.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
                    
                    Response Object.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__getRoutes" class="method item protected">
    <h3 class="name"><code>_getRoutes</code></h3>

    
        <span class="paren">()</span>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object[]</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l867"><code>app&#x2F;js&#x2F;router.js:867</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Getter for the <code>routes</code> attribute.</p>
    </div>

    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object[]</a></span>:
                    
                    Array of route objects.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__getStateVal" class="method item private inherited">
    <h3 class="name"><code>_getStateVal</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>name</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code class="optional">[cfg]</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type">Any</span>
        </span>
    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeCore.html#method__getStateVal">AttributeCore</a>:
            
        
        
        <a href="../files/attribute_js_AttributeCore.js.html#l600"><code>attribute&#x2F;js&#x2F;AttributeCore.js:600</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Gets the stored value for the attribute, from either the
internal state object, or the state proxy if it exits</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The name of the attribute</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name optional">[cfg]</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>Optional config hash for the attribute. This is added for performance along the critical path,
where the calling method has already obtained the config from state.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type">Any</span>:
                    
                    The stored value of the attribute
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__getType" class="method item private inherited">
    <h3 class="name"><code>_getType</code></h3>

    
        <span class="paren">()</span>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/EventTarget.html#method__getType">EventTarget</a>:
            
        
        
        <a href="../files/event-custom_js_event-target.js.html#l36"><code>event-custom&#x2F;js&#x2F;event-target.js:36</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>If the instance has a prefix attribute and the
event type is not prefixed, the instance prefix is
applied to the supplied type.</p>
    </div>

    

    

    
</div>

                
                    <div id="method__getURL" class="method item protected">
    <h3 class="name"><code>_getURL</code></h3>

    
        <span class="paren">()</span>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l878"><code>app&#x2F;js&#x2F;router.js:878</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Gets the current full URL.</p>
    </div>

    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    
                    URL.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__hasSameOrigin" class="method item protected">
    <h3 class="name"><code>_hasSameOrigin</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>url</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l895"><code>app&#x2F;js&#x2F;router.js:895</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Returns <code>true</code> when the specified <code>url</code> is from the same origin as the
current URL; i.e., the protocol, host, and port of the URLs are the same.</p>

<p>All host or path relative URLs are of the same origin. A scheme-relative URL
is first prefixed with the current scheme before being evaluated.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">url</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>URL to compare origin with the current URL.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
                    
                    Whether the URL has the same origin of the current URL.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__initAttrHost" class="method item private inherited">
    <h3 class="name"><code>_initAttrHost</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>attrs</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>values</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>lazy</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeCore.html#method__initAttrHost">AttributeCore</a>:
            
        
        
        <a href="../files/attribute_js_AttributeCore.js.html#l140"><code>attribute&#x2F;js&#x2F;AttributeCore.js:140</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Constructor logic for attributes. Initializes the host state, and sets up the inital attributes passed to the
constructor.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">attrs</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>The attributes to add during construction (passed through to <a href="#method_addAttrs">addAttrs</a>).
       These can also be defined on the constructor being augmented with Attribute by defining the ATTRS property on the constructor.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">values</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>The initial attribute values to apply (passed through to <a href="#method_addAttrs">addAttrs</a>).
       These are not merged/cloned. The caller is responsible for isolating user provided values if required.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">lazy</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                    

                    

                    <div class="param-description">
                        <p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method__initAttribute" class="method item private inherited">
    <h3 class="name"><code>_initAttribute</code></h3>

    
        <span class="paren">()</span>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            <p>Inherited from
            <a href="../classes/BaseObservable.html#method__initAttribute">
                BaseObservable
            </a>
            
            but overwritten in
            
        
        
        <a href="../files/base_js_BaseCore.js.html#l254"><code>base&#x2F;js&#x2F;BaseCore.js:254</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Initializes AttributeCore</p>
    </div>

    

    

    
</div>

                
                    <div id="method__initAttrs" class="method item protected inherited">
    <h3 class="name"><code>_initAttrs</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>attrs</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>values</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>lazy</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeCore.html#method__initAttrs">AttributeCore</a>:
            
        
        
        <a href="../files/attribute_js_AttributeCore.js.html#l1011"><code>attribute&#x2F;js&#x2F;AttributeCore.js:1011</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Utility method to set up initial attributes defined during construction,
either through the constructor.ATTRS property, or explicitly passed in.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">attrs</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>The attributes to add during construction (passed through to <a href="#method_addAttrs">addAttrs</a>).
       These can also be defined on the constructor being augmented with Attribute by defining the ATTRS property on the constructor.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">values</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>The initial attribute values to apply (passed through to <a href="#method_addAttrs">addAttrs</a>).
       These are not merged/cloned. The caller is responsible for isolating user provided values if required.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">lazy</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                    

                    

                    <div class="param-description">
                        <p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method__initBase" class="method item private inherited">
    <h3 class="name"><code>_initBase</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>config</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/BaseCore.html#method__initBase">BaseCore</a>:
            
        
        
        <a href="../files/base_js_BaseCore.js.html#l219"><code>base&#x2F;js&#x2F;BaseCore.js:219</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Internal construction logic for BaseCore.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">config</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>The constructor configuration object</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method__initHierarchy" class="method item private inherited">
    <h3 class="name"><code>_initHierarchy</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>userVals</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/BaseCore.html#method__initHierarchy">BaseCore</a>:
            
        
        
        <a href="../files/base_js_BaseCore.js.html#l659"><code>base&#x2F;js&#x2F;BaseCore.js:659</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Initializes the class hierarchy for the instance, which includes
initializing attributes for each class defined in the class's
static <a href="#property_BaseCore.ATTRS">ATTRS</a> property and
invoking the initializer method on the prototype of each class in the hierarchy.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">userVals</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>Object with configuration property name/value pairs</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method__initHierarchyData" class="method item private inherited">
    <h3 class="name"><code>_initHierarchyData</code></h3>

    
        <span class="paren">()</span>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/BaseCore.html#method__initHierarchyData">BaseCore</a>:
            
        
        
        <a href="../files/base_js_BaseCore.js.html#l457"><code>base&#x2F;js&#x2F;BaseCore.js:457</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>A helper method used by _getClasses and _getAttrCfgs, which determines both
the array of classes and aggregate set of attribute configurations
across the class hierarchy for the instance.</p>
    </div>

    

    

    
</div>

                
                    <div id="method__isLazyAttr" class="method item private inherited">
    <h3 class="name"><code>_isLazyAttr</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>name</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
        </span>
    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeCore.html#method__isLazyAttr">AttributeCore</a>:
            
        
        
        <a href="../files/attribute_js_AttributeCore.js.html#l369"><code>attribute&#x2F;js&#x2F;AttributeCore.js:369</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Checks whether or not the attribute is one which has been
added lazily and still requires initialization.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The name of the attribute</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
                    
                    true if it's a lazily added attribute, false otherwise.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__joinURL" class="method item protected">
    <h3 class="name"><code>_joinURL</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>url</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l918"><code>app&#x2F;js&#x2F;router.js:918</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Joins the <code>root</code> URL to the specified <em>url</em>, normalizing leading/trailing
<code>/</code> characters.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">url</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>URL to append to the <code>root</code> URL.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    
                    Joined URL.
                
            </div>
        </div>
    

    
        <div class="example">
            <h4>Example:</h4>

            <div class="example-content">
                <pre class="code prettyprint"><code>router.set('root', '/foo');
router._joinURL('bar');  // =&gt; '/foo/bar'
router._joinURL('/bar'); // =&gt; '/foo/bar'

router.set('root', '/foo/');
router._joinURL('bar');  // =&gt; '/foo/bar'
router._joinURL('/bar'); // =&gt; '/foo/bar'
</code></pre>
            </div>
        </div>
    
</div>

                
                    <div id="method__monitor" class="method item private inherited">
    <h3 class="name"><code>_monitor</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>what</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>eventType</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>o</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/EventTarget.html#method__monitor">EventTarget</a>:
            
        
        
        <a href="../files/event-custom_js_event-target.js.html#l658"><code>event-custom&#x2F;js&#x2F;event-target.js:658</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>This is the entry point for the event monitoring system.
You can monitor 'attach', 'detach', 'fire', and 'publish'.
When configured, these events generate an event.  click ->
click<em>attach, click</em>detach, click_publish -- these can
be subscribed to like other events to monitor the event
system.  Inividual published events can have monitoring
turned on or off (publish can't be turned off before it
it published) by setting the events 'monitor' config.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">what</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>'attach', 'detach', 'fire', or 'publish'</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">eventType</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
                    

                    

                    <div class="param-description">
                        <p>The prefixed name of the event being monitored, or the CustomEvent object.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">o</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>Information about the event interaction, such as
                 fire() args, subscription category, publish config</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method__normalizePath" class="method item protected">
    <h3 class="name"><code>_normalizePath</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>path</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l951"><code>app&#x2F;js&#x2F;router.js:951</code></a>
        
        </p>


        

        
            <p>Available since 3.5.0</p>
        
    </div>

    <div class="description">
        <p>Returns a normalized path, ridding it of any '..' segments and properly
handling leading and trailing slashes.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">path</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>URL path to normalize.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    
                    Normalized path.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__normAttrVals" class="method item private inherited">
    <h3 class="name"><code>_normAttrVals</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>valueHash</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
        </span>
    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeCore.html#method__normAttrVals">AttributeCore</a>:
            
        
        
        <a href="../files/attribute_js_AttributeCore.js.html#l897"><code>attribute&#x2F;js&#x2F;AttributeCore.js:897</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Utility method to normalize attribute values. The base implementation
simply merges the hash to protect the original.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">valueHash</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>An object with attribute name/value pairs</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
                    
                    An object literal with 2 properties - "simple" and "complex",
containing simple and complex attribute values respectively keyed
by the top level attribute name, or null, if valueHash is falsey.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__parseQuery" class="method item protected">
    <h3 class="name"><code>_parseQuery</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>query</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l993"><code>app&#x2F;js&#x2F;router.js:993</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Parses a URL query string into a key/value hash. If <code>Y.QueryString.parse</code> is
available, this method will be an alias to that.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">query</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>Query string to parse.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
                    
                    Hash of key/value pairs for query parameters.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__parseType" class="method item private inherited">
    <h3 class="name"><code>_parseType</code></h3>

    
        <span class="paren">()</span>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/EventTarget.html#method__parseType">EventTarget</a>:
            
        
        
        <a href="../files/event-custom_js_event-target.js.html#l52"><code>event-custom&#x2F;js&#x2F;event-target.js:52</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Returns an array with the detach key (if provided),
and the prefixed event name from _getType
Y.on('detachcategory| menu:click', fn)</p>
    </div>

    

    

    
</div>

                
                    <div id="method__preInitEventCfg" class="method item private inherited">
    <h3 class="name"><code>_preInitEventCfg</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>config</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/BaseObservable.html#method__preInitEventCfg">BaseObservable</a>:
            
        
        
        <a href="../files/base_js_BaseObservable.js.html#l98"><code>base&#x2F;js&#x2F;BaseObservable.js:98</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Handles the special on, after and target properties which allow the user to
easily configure on and after listeners as well as bubble targets during
construction, prior to init.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">config</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>The user configuration object</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method__protectAttrs" class="method item protected deprecated inherited">
    <h3 class="name"><code>_protectAttrs</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>attrs</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
        </span>
    

    
        <span class="flag deprecated" title="Use &#x60;AttributeCore.protectAttrs()&#x60; or
  &#x60;Attribute.protectAttrs()&#x60; which are the same static utility method.">deprecated</span>
    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeCore.html#method__protectAttrs">AttributeCore</a>:
            
        
        
        <a href="../files/attribute_js_AttributeCore.js.html#l883"><code>attribute&#x2F;js&#x2F;AttributeCore.js:883</code></a>
        
        </p>


        
            <p>Deprecated: Use &#x60;AttributeCore.protectAttrs()&#x60; or
  &#x60;Attribute.protectAttrs()&#x60; which are the same static utility method.</p>
        

        
    </div>

    <div class="description">
        <p>Utility method to protect an attribute configuration
hash, by merging the entire object and the individual
attr config objects.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">attrs</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>A hash of attribute to configuration object pairs.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
                    
                    A protected version of the attrs argument.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__publish" class="method item private inherited">
    <h3 class="name"><code>_publish</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>fullType</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>etOpts</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>ceOpts</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
        </span>
    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/EventTarget.html#method__publish">EventTarget</a>:
            
        
        
        <a href="../files/event-custom_js_event-target.js.html#l610"><code>event-custom&#x2F;js&#x2F;event-target.js:610</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>The low level event publish implementation. It expects all the massaging to have been done
outside of this method. e.g. the <code>type</code> to <code>fullType</code> conversion. It's designed to be a fast
path publish, which can be used by critical code paths to improve performance.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">fullType</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The prefixed type of the event to publish.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">etOpts</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>The EventTarget specific configuration to mix into the published event.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">ceOpts</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>The publish specific configuration to mix into the published event.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>:
                    
                    The published event. If called without <code>etOpts</code> or <code>ceOpts</code>, this will
be the default <code>CustomEvent</code> instance, and can be configured independently.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__queue" class="method item protected">
    <h3 class="name"><code>_queue</code></h3>

    
        <span class="paren">()</span>
    

    

    

    
        <span class="flag protected">protected</span>
    

    

    

    
        <span class="flag chainable">chainable</span>
    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l1021"><code>app&#x2F;js&#x2F;router.js:1021</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Queues up a <code>_save()</code> call to run after all previously-queued calls have
finished.</p>

<p>This is necessary because if we make multiple <code>_save()</code> calls before the
first call gets dispatched, then both calls will dispatch to the last call's
URL.</p>

<p>All arguments passed to <code>_queue()</code> will be passed on to <code>_save()</code> when the
queued function is executed.</p>
    </div>

    

    

    
</div>

                
                    <div id="method__resolvePath" class="method item protected">
    <h3 class="name"><code>_resolvePath</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>path</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l1066"><code>app&#x2F;js&#x2F;router.js:1066</code></a>
        
        </p>


        

        
            <p>Available since 3.5.0</p>
        
    </div>

    <div class="description">
        <p>Returns the normalized result of resolving the <code>path</code> against the current
path. Falsy values for <code>path</code> will return just the current path.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">path</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>URL path to resolve.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    
                    Resolved path.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__resolveURL" class="method item protected">
    <h3 class="name"><code>_resolveURL</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>url</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l1088"><code>app&#x2F;js&#x2F;router.js:1088</code></a>
        
        </p>


        

        
            <p>Available since 3.5.0</p>
        
    </div>

    <div class="description">
        <p>Resolves the specified URL against the current URL.</p>

<p>This method resolves URLs like a browser does and will always return an
absolute URL. When the specified URL is already absolute, it is assumed to
be fully resolved and is simply returned as is. Scheme-relative URLs are
prefixed with the current protocol. Relative URLs are giving the current
URL's origin and are resolved and normalized against the current path root.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">url</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>URL to resolve.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    
                    Resolved URL.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__save" class="method item protected">
    <h3 class="name"><code>_save</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code class="optional">[url]</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code class="optional">[replace=false]</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    
        <span class="flag protected">protected</span>
    

    

    

    
        <span class="flag chainable">chainable</span>
    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l1139"><code>app&#x2F;js&#x2F;router.js:1139</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Saves a history entry using either <code>pushState()</code> or the location hash.</p>

<p>This method enforces the same-origin security constraint; attempting to save
a <code>url</code> that is not from the same origin as the current URL will result in
an error.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name optional">[url]</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>URL for the history entry.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name optional">[replace=false]</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>If <code>true</code>, the current history entry will
  be replaced instead of a new one being added.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method__set" class="method item protected inherited">
    <h3 class="name"><code>_set</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>name</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>val</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code class="optional">[opts]</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    
        <span class="flag chainable">chainable</span>
    

    

    <div class="meta">
        
            <p>Inherited from
            <a href="../classes/AttributeObservable.html#method__set">
                AttributeObservable
            </a>
            
            but overwritten in
            
        
        
        <a href="../files/attribute_js_AttributeCore.js.html#l427"><code>attribute&#x2F;js&#x2F;AttributeCore.js:427</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Allows setting of readOnly/writeOnce attributes. See <a href="#method_set">set</a> for argument details.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The name of the attribute.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">val</code>
                        <span class="type">Any</span>
                    

                    

                    <div class="param-description">
                        <p>The value to set the attribute to.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name optional">[opts]</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>Optional data providing the circumstances for the change.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
                    
                    A reference to the host object.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__setAttr" class="method item protected inherited">
    <h3 class="name"><code>_setAttr</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>name</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>value</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code class="optional">[opts]</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>force</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    
        <span class="flag chainable">chainable</span>
    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeCore.html#method__setAttr">AttributeCore</a>:
            
        
        
        <a href="../files/attribute_js_AttributeCore.js.html#l443"><code>attribute&#x2F;js&#x2F;AttributeCore.js:443</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Provides the common implementation for the public set and protected _set methods.</p>

<p>See <a href="#method_set">set</a> for argument details.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The name of the attribute.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">value</code>
                        <span class="type">Any</span>
                    

                    

                    <div class="param-description">
                        <p>The value to set the attribute to.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name optional">[opts]</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>Optional data providing the circumstances for the change.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">force</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                    

                    

                    <div class="param-description">
                        <p>If true, allows the caller to set values for
readOnly or writeOnce attributes which have already been set.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
                    
                    A reference to the host object.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__setAttrs" class="method item protected inherited">
    <h3 class="name"><code>_setAttrs</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>attrs</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code class="optional">[opts]</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    
        <span class="flag chainable">chainable</span>
    

    

    <div class="meta">
        
            <p>Inherited from
            <a href="../classes/AttributeObservable.html#method__setAttrs">
                AttributeObservable
            </a>
            
            but overwritten in
            
        
        
        <a href="../files/attribute_js_AttributeCore.js.html#l742"><code>attribute&#x2F;js&#x2F;AttributeCore.js:742</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Implementation behind the public setAttrs method, to set multiple attribute values.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">attrs</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>An object with attributes name/value pairs.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name optional">[opts]</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>Optional data providing the circumstances for the change</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
                    
                    A reference to the host object.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__setAttrVal" class="method item private inherited">
    <h3 class="name"><code>_setAttrVal</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>attrName</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>subAttrName</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>prevVal</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>newVal</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code class="optional">[opts]</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code class="optional">[attrCfg]</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type">Booolean</span>
        </span>
    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeCore.html#method__setAttrVal">AttributeCore</a>:
            
        
        
        <a href="../files/attribute_js_AttributeCore.js.html#l640"><code>attribute&#x2F;js&#x2F;AttributeCore.js:640</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Updates the stored value of the attribute in the privately held State object,
if validation and setter passes.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">attrName</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The attribute name.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">subAttrName</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The sub-attribute name, if setting a sub-attribute property ("x.y.z").</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">prevVal</code>
                        <span class="type">Any</span>
                    

                    

                    <div class="param-description">
                        <p>The currently stored value of the attribute.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">newVal</code>
                        <span class="type">Any</span>
                    

                    

                    <div class="param-description">
                        <p>The value which is going to be stored.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name optional">[opts]</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>Optional data providing the circumstances for the change.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name optional">[attrCfg]</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>Optional config hash for the attribute. This is added for performance along the critical path,
where the calling method has already obtained the config from state.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type">Booolean</span>:
                    
                    true if the new attribute value was stored, false if not.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__setRoutes" class="method item protected">
    <h3 class="name"><code>_setRoutes</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>routes</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object[]</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l1203"><code>app&#x2F;js&#x2F;router.js:1203</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Setter for the <code>routes</code> attribute.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">routes</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object[]</a></span>
                    

                    

                    <div class="param-description">
                        <p>Array of route objects.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object[]</a></span>:
                    
                    Array of route objects.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method__setStateVal" class="method item private inherited">
    <h3 class="name"><code>_setStateVal</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>name</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>value</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeCore.html#method__setStateVal">AttributeCore</a>:
            
        
        
        <a href="../files/attribute_js_AttributeCore.js.html#l622"><code>attribute&#x2F;js&#x2F;AttributeCore.js:622</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Sets the stored value for the attribute, in either the
internal state object, or the state proxy if it exits</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The name of the attribute</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">value</code>
                        <span class="type">Any</span>
                    

                    

                    <div class="param-description">
                        <p>The value of the attribute</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method__upgradeURL" class="method item protected">
    <h3 class="name"><code>_upgradeURL</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>url</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>
    

    

    
        <span class="flag protected">protected</span>
    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l1224"><code>app&#x2F;js&#x2F;router.js:1224</code></a>
        
        </p>


        

        
            <p>Available since 3.5.0</p>
        
    </div>

    <div class="description">
        <p>Upgrades a hash-based URL to a full-path URL, if necessary.</p>

<p>The specified <code>url</code> will be upgraded if its of the same origin as the
current URL and has a path-like hash. URLs that don't need upgrading will be
returned as-is.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">url</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The URL to upgrade from hash-based to full-path.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    
                    The upgraded URL, or the specified URL untouched.
                
            </div>
        </div>
    

    
        <div class="example">
            <h4>Example:</h4>

            <div class="example-content">
                <pre class="code prettyprint"><code>app._upgradeURL('http://example.com/#/foo/'); // =&gt; 'http://example.com/foo/';
</code></pre>
            </div>
        </div>
    
</div>

                
                    <div id="method_addAttr" class="method item inherited">
    <h3 class="name"><code>addAttr</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>name</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>config</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>lazy</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
        </span>
    

    

    

    

    

    
        <span class="flag chainable">chainable</span>
    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeCore.html#method_addAttr">AttributeCore</a>:
            
        
        
        <a href="../files/attribute_js_AttributeCore.js.html#l157"><code>attribute&#x2F;js&#x2F;AttributeCore.js:157</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>
Adds an attribute with the provided configuration to the host object.
</p>

<p>
The config argument object supports the following properties:
</p>

<dl>
   <dt>value &#60;Any&#62;</dt>
   <dd>The initial value to set on the attribute</dd>

   <dt>valueFn &#60;Function | String&#62;</dt>
   <dd>
   <p>A function, which will return the initial value to set on the attribute. This is useful
   for cases where the attribute configuration is defined statically, but needs to
   reference the host instance ("this") to obtain an initial value. If both the value and valueFn properties are defined,
   the value returned by the valueFn has precedence over the value property, unless it returns undefined, in which
   case the value property is used.</p>

   <p>valueFn can also be set to a string, representing the name of the instance method to be used to retrieve the value.</p>
   </dd>

   <dt>readOnly &#60;boolean&#62;</dt>
   <dd>Whether or not the attribute is read only. Attributes having readOnly set to true
       cannot be modified by invoking the set method.</dd>

   <dt>writeOnce &#60;boolean&#62; or &#60;string&#62;</dt>
   <dd>
       Whether or not the attribute is "write once". Attributes having writeOnce set to true,
       can only have their values set once, be it through the default configuration,
       constructor configuration arguments, or by invoking set.
       <p>The writeOnce attribute can also be set to the string "initOnly",
        in which case the attribute can only be set during initialization
       (when used with Base, this means it can only be set during construction)</p>
   </dd>

   <dt>setter &#60;Function | String&#62;</dt>
   <dd>
   <p>The setter function used to massage or normalize the value passed to the set method for the attribute.
   The value returned by the setter will be the final stored value. Returning
   <a href="#property_Attribute.INVALID_VALUE">Attribute.INVALID_VALUE</a>, from the setter will prevent
   the value from being stored.
   </p>

   <p>setter can also be set to a string, representing the name of the instance method to be used as the setter function.</p>
   </dd>

   <dt>getter &#60;Function | String&#62;</dt>
   <dd>
   <p>
   The getter function used to massage or normalize the value returned by the get method for the attribute.
   The value returned by the getter function is the value which will be returned to the user when they
   invoke get.
   </p>

   <p>getter can also be set to a string, representing the name of the instance method to be used as the getter function.</p>
   </dd>

   <dt>validator &#60;Function | String&#62;</dt>
   <dd>
   <p>
   The validator function invoked prior to setting the stored value. Returning
   false from the validator function will prevent the value from being stored.
   </p>

   <p>validator can also be set to a string, representing the name of the instance method to be used as the validator function.</p>
   </dd>

   <dt>lazyAdd &#60;boolean&#62;</dt>
   <dd>Whether or not to delay initialization of the attribute until the first call to get/set it.
   This flag can be used to over-ride lazy initialization on a per attribute basis, when adding multiple attributes through
   the <a href="#method_addAttrs">addAttrs</a> method.</dd>

</dl>

<p>The setter, getter and validator are invoked with the value and name passed in as the first and second arguments, and with
the context ("this") set to the host object.</p>

<p>Configuration properties outside of the list mentioned above are considered private properties used internally by attribute,
and are not intended for public use.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The name of the attribute.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">config</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>An object with attribute configuration property/value pairs, specifying the configuration for the attribute.</p>

<p>
<strong>NOTE:</strong> The configuration object is modified when adding an attribute, so if you need
to protect the original values, you will need to merge the object.
</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">lazy</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                    

                    

                    <div class="param-description">
                        <p>(optional) Whether or not to add this attribute lazily (on the first call to get/set).</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
                    
                    A reference to the host object.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_addAttrs" class="method item inherited">
    <h3 class="name"><code>addAttrs</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>cfgs</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>values</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>lazy</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
        </span>
    

    

    

    

    

    
        <span class="flag chainable">chainable</span>
    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeCore.html#method_addAttrs">AttributeCore</a>:
            
        
        
        <a href="../files/attribute_js_AttributeCore.js.html#l805"><code>attribute&#x2F;js&#x2F;AttributeCore.js:805</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Configures a group of attributes, and sets initial values.</p>

<p>
<strong>NOTE:</strong> This method does not isolate the configuration object by merging/cloning.
The caller is responsible for merging/cloning the configuration object if required.
</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">cfgs</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>An object with attribute name/configuration pairs.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">values</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>An object with attribute name/value pairs, defining the initial values to apply.
Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">lazy</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                    

                    

                    <div class="param-description">
                        <p>Whether or not to delay the intialization of these attributes until the first call to get/set.
Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration.
See <a href="#method_addAttr">addAttr</a>.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
                    
                    A reference to the host object.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_addTarget" class="method item inherited">
    <h3 class="name"><code>addTarget</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>o</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/EventTarget.html#method_addTarget">EventTarget</a>:
            
        
        
        <a href="../files/event-custom_js_event-facade.js.html#l455"><code>event-custom&#x2F;js&#x2F;event-facade.js:455</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Registers another EventTarget as a bubble target.  Bubble order
is determined by the order registered.  Multiple targets can
be specified.</p>

<p>Events can only bubble if emitFacade is true.</p>

<p>Included in the event-custom-complex submodule.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">o</code>
                        <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
                    

                    

                    <div class="param-description">
                        <p>the target to add</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_after" class="method item inherited">
    <h3 class="name"><code>after</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>type</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>fn</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code class="optional">[context]</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code class="optional">[arg*]</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/EventTarget.html#method_after">EventTarget</a>:
            
        
        
        <a href="../files/event-custom_js_event-target.js.html#l833"><code>event-custom&#x2F;js&#x2F;event-target.js:833</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Subscribe to a custom event hosted by this object.  The
supplied callback will execute after any listeners add
via the subscribe method, and after the default function,
if configured for the event, has executed.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">type</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The name of the event</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">fn</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
                    

                    

                    <div class="param-description">
                        <p>The callback to execute in response to the event</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name optional">[context]</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>Override <code>this</code> object in callback</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name optional">[arg*]</code>
                        <span class="type">Any</span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>0..n additional arguments to supply to the subscriber</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
                    
                    A subscription handle capable of detaching the
                      subscription
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_attrAdded" class="method item inherited">
    <h3 class="name"><code>attrAdded</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>name</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeCore.html#method_attrAdded">AttributeCore</a>:
            
        
        
        <a href="../files/attribute_js_AttributeCore.js.html#l341"><code>attribute&#x2F;js&#x2F;AttributeCore.js:341</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Checks if the given attribute has been added to the host</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The name of the attribute to check.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
                    
                    true if an attribute with the given name has been added, false if it hasn't.
        This method will return true for lazily added attributes.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_before" class="method item inherited">
    <h3 class="name"><code>before</code></h3>

    
        <span class="paren">()</span>
    

    
        <span class="returns-inline">
            <span class="type"></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/EventTarget.html#method_before">EventTarget</a>:
            
        
        
        <a href="../files/event-custom_js_event-target.js.html#l870"><code>event-custom&#x2F;js&#x2F;event-target.js:870</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Executes the callback before a DOM event, custom event
or method.  If the first argument is a function, it
is assumed the target is a method.  For DOM and custom
events, this is an alias for Y.on.</p>

<p>For DOM and custom events:
type, callback, context, 0-n arguments</p>

<p>For methods:
callback, object (method host), methodName, context, 0-n arguments</p>
    </div>

    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                    detach handle
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_bubble" class="method item inherited">
    <h3 class="name"><code>bubble</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>evt</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/EventTarget.html#method_bubble">EventTarget</a>:
            
        
        
        <a href="../files/event-custom_js_event-facade.js.html#l507"><code>event-custom&#x2F;js&#x2F;event-facade.js:507</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Propagate an event.  Requires the event-custom-complex module.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">evt</code>
                        <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
                    

                    

                    <div class="param-description">
                        <p>the custom event to propagate</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
                    
                    the aggregated return value from Event.Custom.fire
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_destroy" class="method item inherited">
    <h3 class="name"><code>destroy</code></h3>

    
        <span class="paren">()</span>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/BaseCore.html" class="crosslink">BaseCore</a></span>
        </span>
    

    

    

    

    

    
        <span class="flag chainable">chainable</span>
    

    

    <div class="meta">
        
            <p>Inherited from
            <a href="../classes/BaseObservable.html#method_destroy">
                BaseObservable
            </a>
            
            but overwritten in
            
        
        
        <a href="../files/base_js_BaseCore.js.html#l297"><code>base&#x2F;js&#x2F;BaseCore.js:297</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Destroy lifecycle method. Invokes destructors for the class hierarchy.</p>
    </div>

    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/BaseCore.html" class="crosslink">BaseCore</a></span>:
                    
                    A reference to this object
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_detach" class="method item inherited">
    <h3 class="name"><code>detach</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>type</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>fn</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>context</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/EventTarget.html#method_detach">EventTarget</a>:
            
        
        
        <a href="../files/event-custom_js_event-target.js.html#l346"><code>event-custom&#x2F;js&#x2F;event-target.js:346</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Detach one or more listeners the from the specified event</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">type</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>Either the handle to the subscriber or the
                       type of event.  If the type
                       is not specified, it will attempt to remove
                       the listener from all hosted events.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">fn</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
                    

                    

                    <div class="param-description">
                        <p>The subscribed function to unsubscribe, if not
                         supplied, all subscribers will be removed.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">context</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>The custom object passed to subscribe.  This is
                       optional, but if supplied will be used to
                       disambiguate multiple listeners that are the same
                       (e.g., you subscribe many object using a function
                       that lives on the prototype)</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>:
                    
                    the host
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_detachAll" class="method item inherited">
    <h3 class="name"><code>detachAll</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>type</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/EventTarget.html#method_detachAll">EventTarget</a>:
            
        
        
        <a href="../files/event-custom_js_event-target.js.html#l469"><code>event-custom&#x2F;js&#x2F;event-target.js:469</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Removes all listeners from the specified event.  If the event type
is not specified, all listeners from all hosted custom events will
be removed.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">type</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The type, or name of the event</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_dispatch" class="method item">
    <h3 class="name"><code>dispatch</code></h3>

    
        <span class="paren">()</span>
    

    

    

    

    

    

    
        <span class="flag chainable">chainable</span>
    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l206"><code>app&#x2F;js&#x2F;router.js:206</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Dispatches to the first route handler that matches the current URL, if any.</p>

<p>If <code>dispatch()</code> is called before the <code>ready</code> event has fired, it will
automatically wait for the <code>ready</code> event before dispatching. Otherwise it
will dispatch immediately.</p>
    </div>

    

    

    
</div>

                
                    <div id="method_dispatch" class="method item">
    <h3 class="name"><code>dispatch</code></h3>

    
        <span class="paren">()</span>
    

    

    

    

    

    
        <span class="flag static">static</span>
    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l1389"><code>app&#x2F;js&#x2F;router.js:1389</code></a>
        
        </p>


        

        
            <p>Available since 3.6.0</p>
        
    </div>

    <div class="description">
        <p>Dispatches to the first route handler that matches the specified <code>path</code> for
all active router instances.</p>

<p>This provides a mechanism to cause all active router instances to dispatch
to their route handlers without needing to change the URL or fire the
<code>history:change</code> or <code>hashchange</code> event.</p>
    </div>

    

    

    
</div>

                
                    <div id="method_fire" class="method item inherited">
    <h3 class="name"><code>fire</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>type</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>arguments</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/EventTarget.html#method_fire">EventTarget</a>:
            
        
        
        <a href="../files/event-custom_js_event-target.js.html#l695"><code>event-custom&#x2F;js&#x2F;event-target.js:695</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Fire a custom event by name.  The callback functions will be executed
from the context specified when the event was created, and with the
following parameters.</p>

<p>If the custom event object hasn't been created, then the event hasn't
been published and it has no subscribers.  For performance sake, we
immediate exit in this case.  This means the event won't bubble, so
if the intention is that a bubble target be notified, the event must
be published on this object first.</p>

<p>The first argument is the event type, and any additional arguments are
passed to the listeners as parameters.  If the first of these is an
object literal, and the event is configured to emit an event facade,
that object is mixed into the event facade and the facade is provided
in place of the original object.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">type</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>The type of the event, or an object that contains
a 'type' property.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">arguments</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object*</a></span>
                    

                    

                    <div class="param-description">
                        <p>an arbitrary set of parameters to pass to
the handler.  If the first of these is an object literal and the event is
configured to emit an event facade, the event facade will replace that
parameter after the properties the object literal contains are copied to
the event facade.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>:
                    
                    the event host
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_get" class="method item inherited">
    <h3 class="name"><code>get</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>name</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type">Any</span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeCore.html#method_get">AttributeCore</a>:
            
        
        
        <a href="../files/attribute_js_AttributeCore.js.html#l353"><code>attribute&#x2F;js&#x2F;AttributeCore.js:353</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Returns the current value of the attribute. If the attribute
has been configured with a 'getter' function, this method will delegate
to the 'getter' to obtain the value of the attribute.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The name of the attribute. If the value of the attribute is an Object,
dot notation can be used to obtain the value of a property of the object (e.g. <code>get("x.y.z")</code>)</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type">Any</span>:
                    
                    The value of the attribute
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_getAttrs" class="method item inherited">
    <h3 class="name"><code>getAttrs</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>attrs</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeCore.html#method_getAttrs">AttributeCore</a>:
            
        
        
        <a href="../files/attribute_js_AttributeCore.js.html#l762"><code>attribute&#x2F;js&#x2F;AttributeCore.js:762</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Gets multiple attribute values.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">attrs</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span>
                    

                    

                    <div class="param-description">
                        <p>Optional. An array of attribute names. If omitted, all attribute values are
returned. If set to true, all attributes modified from their initial values are returned.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
                    
                    An object with attribute name/value pairs.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_getEvent" class="method item inherited">
    <h3 class="name"><code>getEvent</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>type</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>prefixed</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/EventTarget.html#method_getEvent">EventTarget</a>:
            
        
        
        <a href="../files/event-custom_js_event-target.js.html#l814"><code>event-custom&#x2F;js&#x2F;event-target.js:814</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Returns the custom event of the provided type has been created, a
falsy value otherwise</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">type</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>the type, or name of the event</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">prefixed</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>if true, the type is prefixed already</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>:
                    
                    the custom event or null
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_getPath" class="method item">
    <h3 class="name"><code>getPath</code></h3>

    
        <span class="paren">()</span>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l228"><code>app&#x2F;js&#x2F;router.js:228</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Gets the current route path, relative to the <code>root</code> (if any).</p>
    </div>

    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    
                    Current route path.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_getTargets" class="method item inherited">
    <h3 class="name"><code>getTargets</code></h3>

    
        <span class="paren">()</span>
    

    
        <span class="returns-inline">
            <span class="type"></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/EventTarget.html#method_getTargets">EventTarget</a>:
            
        
        
        <a href="../files/event-custom_js_event-facade.js.html#l479"><code>event-custom&#x2F;js&#x2F;event-facade.js:479</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Returns an array of bubble targets for this object.</p>
    </div>

    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                    EventTarget[]
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_hasRoute" class="method item">
    <h3 class="name"><code>hasRoute</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>url</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l238"><code>app&#x2F;js&#x2F;router.js:238</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Returns <code>true</code> if this router has at least one route that matches the
specified URL, <code>false</code> otherwise.</p>

<p>This method enforces the same-origin security constraint on the specified
<code>url</code>; any URL which is not from the same origin as the current URL will
always return <code>false</code>.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">url</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>URL to match.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
                    
                    <code>true</code> if there's at least one matching route, <code>false</code>
  otherwise.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_init" class="method item inherited">
    <h3 class="name"><code>init</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>cfg</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/BaseCore.html" class="crosslink">BaseCore</a></span>
        </span>
    

    

    

    

    

    
        <span class="flag chainable">chainable</span>
    

    

    <div class="meta">
        
            <p>Inherited from
            <a href="../classes/BaseObservable.html#method_init">
                BaseObservable
            </a>
            
            but overwritten in
            
        
        
        <a href="../files/base_js_BaseCore.js.html#l264"><code>base&#x2F;js&#x2F;BaseCore.js:264</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Init lifecycle method, invoked during construction. Sets up attributes
and invokes initializers for the class hierarchy.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">cfg</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>Object with configuration property name/value pairs</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/BaseCore.html" class="crosslink">BaseCore</a></span>:
                    
                    A reference to this object
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_match" class="method item">
    <h3 class="name"><code>match</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>path</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object[]</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l267"><code>app&#x2F;js&#x2F;router.js:267</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Returns an array of route objects that match the specified URL path.</p>

<p>This method is called internally to determine which routes match the current
path whenever the URL changes. You may override it if you want to customize
the route matching logic, although this usually shouldn't be necessary.</p>

<p>Each returned route object has the following properties:</p>

<ul>
<li><p><code>callback</code>: A function or a string representing the name of a function
this router that should be executed when the route is triggered.</p></li>
<li><p><code>keys</code>: An array of strings representing the named parameters defined in
the route's path specification, if any.</p></li>
<li><p><code>path</code>: The route's path specification, which may be either a string or
a regex.</p></li>
<li><p><code>regex</code>: A regular expression version of the route's path specification.
This regex is used to determine whether the route matches a given path.</p></li>
</ul>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">path</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>URL path to match.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object[]</a></span>:
                    
                    Array of route objects that match the specified path.
                
            </div>
        </div>
    

    
        <div class="example">
            <h4>Example:</h4>

            <div class="example-content">
                <pre class="code prettyprint"><code>router.route('/foo', function () {});
router.match('/foo');
// =&gt; [{callback: ..., keys: [], path: '/foo', regex: ...}]
</code></pre>
            </div>
        </div>
    
</div>

                
                    <div id="method_modifyAttr" class="method item inherited">
    <h3 class="name"><code>modifyAttr</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>name</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>config</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeExtras.html#method_modifyAttr">AttributeExtras</a>:
            
        
        
        <a href="../files/attribute_js_AttributeExtras.js.html#l40"><code>attribute&#x2F;js&#x2F;AttributeExtras.js:40</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Updates the configuration of an attribute which has already been added.</p>

<p>
The properties which can be modified through this interface are limited
to the following subset of attributes, which can be safely modified
after a value has already been set on the attribute: readOnly, writeOnce,
broadcast and getter.
</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The name of the attribute whose configuration is to be updated.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">config</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>An object with configuration property/value pairs, specifying the configuration properties to modify.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_on" class="method item inherited">
    <h3 class="name"><code>on</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>type</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>fn</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code class="optional">[context]</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code class="optional">[arg*]</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/EventTarget.html#method_on">EventTarget</a>:
            
        
        
        <a href="../files/event-custom_js_event-target.js.html#l188"><code>event-custom&#x2F;js&#x2F;event-target.js:188</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Subscribe a callback function to a custom event fired by this object or
from an object that bubbles its events to this object.</p>

<p>Callback functions for events published with <code>emitFacade = true</code> will
receive an <code>EventFacade</code> as the first argument (typically named "e").
These callbacks can then call <code>e.preventDefault()</code> to disable the
behavior published to that event's <code>defaultFn</code>.  See the <code>EventFacade</code>
API for all available properties and methods. Subscribers to
non-<code>emitFacade</code> events will receive the arguments passed to <code>fire()</code>
after the event name.</p>

<p>To subscribe to multiple events at once, pass an object as the first
argument, where the key:value pairs correspond to the eventName:callback,
or pass an array of event names as the first argument to subscribe to
all listed events with the same callback.</p>

<p>Returning <code>false</code> from a callback is supported as an alternative to
calling <code>e.preventDefault(); e.stopPropagation();</code>.  However, it is
recommended to use the event methods whenever possible.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">type</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The name of the event</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">fn</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
                    

                    

                    <div class="param-description">
                        <p>The callback to execute in response to the event</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name optional">[context]</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>Override <code>this</code> object in callback</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name optional">[arg*]</code>
                        <span class="type">Any</span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>0..n additional arguments to supply to the subscriber</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
                    
                    A subscription handle capable of detaching that
                      subscription
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_once" class="method item inherited">
    <h3 class="name"><code>once</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>type</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>fn</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code class="optional">[context]</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code class="optional">[arg*]</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/EventTarget.html#method_once">EventTarget</a>:
            
        
        
        <a href="../files/event-custom_js_event-target.js.html#l124"><code>event-custom&#x2F;js&#x2F;event-target.js:124</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Listen to a custom event hosted by this object one time.
This is the equivalent to <code>on</code> except the
listener is immediatelly detached when it is executed.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">type</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The name of the event</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">fn</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
                    

                    

                    <div class="param-description">
                        <p>The callback to execute in response to the event</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name optional">[context]</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>Override <code>this</code> object in callback</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name optional">[arg*]</code>
                        <span class="type">Any</span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>0..n additional arguments to supply to the subscriber</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
                    
                    A subscription handle capable of detaching the
                      subscription
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_onceAfter" class="method item inherited">
    <h3 class="name"><code>onceAfter</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>type</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>fn</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code class="optional">[context]</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code class="optional">[arg*]</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/EventTarget.html#method_onceAfter">EventTarget</a>:
            
        
        
        <a href="../files/event-custom_js_event-target.js.html#l146"><code>event-custom&#x2F;js&#x2F;event-target.js:146</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Listen to a custom event hosted by this object one time.
This is the equivalent to <code>after</code> except the
listener is immediatelly detached when it is executed.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">type</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The name of the event</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">fn</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
                    

                    

                    <div class="param-description">
                        <p>The callback to execute in response to the event</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name optional">[context]</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>Override <code>this</code> object in callback</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name optional">[arg*]</code>
                        <span class="type">Any</span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>0..n additional arguments to supply to the subscriber</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
                    
                    A subscription handle capable of detaching that
                      subscription
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_parseType" class="method item inherited">
    <h3 class="name"><code>parseType</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>type</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code class="optional">[pre=this._yuievt.config.prefix]</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/EventTarget.html#method_parseType">EventTarget</a>:
            
        
        
        <a href="../files/event-custom_js_event-target.js.html#l168"><code>event-custom&#x2F;js&#x2F;event-target.js:168</code></a>
        
        </p>


        

        
            <p>Available since 3.3.0</p>
        
    </div>

    <div class="description">
        <p>Takes the type parameter passed to 'on' and parses out the
various pieces that could be included in the type.  If the
event type is passed without a prefix, it will be expanded
to include the prefix one is supplied or the event target
is configured with a default prefix.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">type</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>the type</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name optional">[pre=this._yuievt.config.prefix]</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>the prefix</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>:
                    
                    an array containing:
 * the detach category, if supplied,
 * the prefixed event type,
 * whether or not this is an after listener,
 * the supplied event type
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_publish" class="method item inherited">
    <h3 class="name"><code>publish</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>type</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>opts</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/EventTarget.html#method_publish">EventTarget</a>:
            
        
        
        <a href="../files/event-custom_js_event-target.js.html#l493"><code>event-custom&#x2F;js&#x2F;event-target.js:493</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Creates a new custom event of the specified type.  If a custom event
by that name already exists, it will not be re-created.  In either
case the custom event is returned.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">type</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>the type, or name of the event</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">opts</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>optional config params.  Valid properties are:</p>

<p><ul>
   <li>
  'broadcast': whether or not the YUI instance and YUI global are notified when the event is fired (false)
   </li>
   <li>
  'bubbles': whether or not this event bubbles (true)
             Events can only bubble if emitFacade is true.
   </li>
   <li>
  'context': the default execution context for the listeners (this)
   </li>
   <li>
  'defaultFn': the default function to execute when this event fires if preventDefault was not called
   </li>
   <li>
  'emitFacade': whether or not this event emits a facade (false)
   </li>
   <li>
  'prefix': the prefix for this targets events, e.g., 'menu' in 'menu:click'
   </li>
   <li>
  'fireOnce': if an event is configured to fire once, new subscribers after
  the fire will be notified immediately.
   </li>
   <li>
  'async': fireOnce event listeners will fire synchronously if the event has already
   fired unless async is true.
   </li>
   <li>
  'preventable': whether or not preventDefault() has an effect (true)
   </li>
   <li>
  'preventedFn': a function that is executed when preventDefault is called
   </li>
   <li>
  'queuable': whether or not this event can be queued during bubbling (false)
   </li>
   <li>
  'silent': if silent is true, debug messages are not provided for this event.
   </li>
   <li>
  'stoppedFn': a function that is executed when stopPropagation is called
   </li></p>

<p><li>
  'monitored': specifies whether or not this event should send notifications about
  when the event has been attached, detached, or published.
   </li>
   <li>
  'type': the event type (valid option if not provided as the first parameter to publish)
   </li>
 </ul></p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>:
                    
                    the custom event
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_removeAttr" class="method item inherited">
    <h3 class="name"><code>removeAttr</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>name</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeExtras.html#method_removeAttr">AttributeExtras</a>:
            
        
        
        <a href="../files/attribute_js_AttributeExtras.js.html#l79"><code>attribute&#x2F;js&#x2F;AttributeExtras.js:79</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Removes an attribute from the host object</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The name of the attribute to be removed.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_removeQuery" class="method item">
    <h3 class="name"><code>removeQuery</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>url</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l325"><code>app&#x2F;js&#x2F;router.js:325</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Removes a query string from the end of the <em>url</em> (if one exists) and returns
the result.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">url</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>URL.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    
                    Queryless path.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_removeRoot" class="method item">
    <h3 class="name"><code>removeRoot</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>url</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l303"><code>app&#x2F;js&#x2F;router.js:303</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Removes the <code>root</code> URL from the front of <em>url</em> (if it's there) and returns
the result. The returned path will always have a leading <code>/</code>.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">url</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>URL.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    
                    Rootless path.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_removeTarget" class="method item inherited">
    <h3 class="name"><code>removeTarget</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>o</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/EventTarget.html#method_removeTarget">EventTarget</a>:
            
        
        
        <a href="../files/event-custom_js_event-facade.js.html#l489"><code>event-custom&#x2F;js&#x2F;event-facade.js:489</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Removes a bubble target</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">o</code>
                        <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
                    

                    

                    <div class="param-description">
                        <p>the target to remove</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_replace" class="method item">
    <h3 class="name"><code>replace</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code class="optional">[url]</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    
        <span class="flag chainable">chainable</span>
    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l337"><code>app&#x2F;js&#x2F;router.js:337</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Replaces the current browser history entry with a new one, and dispatches to
the first matching route handler, if any.</p>

<p>Behind the scenes, this method uses HTML5 <code>pushState()</code> in browsers that
support it (or the location hash in older browsers and IE) to change the
URL.</p>

<p>The specified URL must share the same origin (i.e., protocol, host, and
port) as the current page, or an error will occur.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name optional">[url]</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>URL to set. This URL needs to be of the same origin as
  the current URL. This can be a URL relative to the router's <code>root</code>
  attribute. If no URL is specified, the page's current URL will be used.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
        <div class="example">
            <h4>Example:</h4>

            <div class="example-content">
                <pre class="code prettyprint"><code>// Starting URL: http://example.com/

router.replace('/path/');
// New URL: http://example.com/path/

router.replace('/path?foo=bar');
// New URL: http://example.com/path?foo=bar

router.replace('/');
// New URL: http://example.com/
</code></pre>
            </div>
        </div>
    
</div>

                
                    <div id="method_reset" class="method item inherited">
    <h3 class="name"><code>reset</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>name</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
        </span>
    

    

    

    

    

    
        <span class="flag chainable">chainable</span>
    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/AttributeExtras.html#method_reset">AttributeExtras</a>:
            
        
        
        <a href="../files/attribute_js_AttributeExtras.js.html#l89"><code>attribute&#x2F;js&#x2F;AttributeExtras.js:89</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Resets the attribute (or all attributes) to its initial value, as long as
the attribute is not readOnly, or writeOnce.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>Optional. The name of the attribute to reset.  If omitted, all attributes are reset.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
                    
                    A reference to the host object.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_route" class="method item">
    <h3 class="name"><code>route</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>path</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>callbacks</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    
        <span class="flag chainable">chainable</span>
    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l371"><code>app&#x2F;js&#x2F;router.js:371</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Adds a route handler for the specified URL <em>path</em>.</p>

<p>The <em>path</em> parameter may be either a string or a regular expression. If it's
a string, it may contain named parameters: <code>:param</code> will match any single
part of a URL path (not including <code>/</code> characters), and <code>*param</code> will match
any number of parts of a URL path (including <code>/</code> characters). These named
parameters will be made available as keys on the <code>req.params</code> object that's
passed to route handlers.</p>

<p>If the <em>path</em> parameter is a regex, all pattern matches will be made
available as numbered keys on <code>req.params</code>, starting with <code>0</code> for the full
match, then <code>1</code> for the first subpattern match, and so on.</p>

<p>Here's a set of sample routes along with URL paths that they match:</p>

<ul>
<li><p>Route: <code>/photos/:tag/:page</code></p>

<ul><li>URL: <code>/photos/kittens/1</code>, params: <code>{tag: 'kittens', page: '1'}</code></li>
<li>URL: <code>/photos/puppies/2</code>, params: <code>{tag: 'puppies', page: '2'}</code></li></ul></li>
<li><p>Route: <code>/file/*path</code></p>

<ul><li>URL: <code>/file/foo/bar/baz.txt</code>, params: <code>{path: 'foo/bar/baz.txt'}</code></li>
<li>URL: <code>/file/foo</code>, params: <code>{path: 'foo'}</code></li></ul></li>
</ul>

<p><strong>Middleware</strong>: Routes also support an arbitrary number of callback
functions. This allows you to easily reuse parts of your route-handling code
with different route. This method is liberal in how it processes the
specified <code>callbacks</code>, you can specify them as separate arguments, or as
arrays, or both.</p>

<p>If multiple route match a given URL, they will be executed in the order they
were added. The first route that was added will be the first to be executed.</p>

<p><strong>Passing Control</strong>: Invoking the <code>next()</code> function within a route callback
will pass control to the next callback function (if any) or route handler
(if any). If a value is passed to <code>next()</code>, it's assumed to be an error,
therefore stopping the dispatch chain, unless that value is: <code>"route"</code>,
which is special case and dispatching will skip to the next route handler.
This allows middleware to skip any remaining middleware for a particular
route.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">path</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/RegExp" class="crosslink external" target="_blank">RegExp</a></span>
                    

                    

                    <div class="param-description">
                        <p>Path to match. May be a string or a regular
  expression.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">callbacks</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    
                        <span class="flag multiple" title="This argument may occur one or more times.">multiple</span>
                    

                    <div class="param-description">
                        <p>Callback functions to call
    whenever this route is triggered. These can be specified as separate
    arguments, or in arrays, or both. If a callback is specified as a
    string, the named function will be called on this router instance.</p>
                    </div>

                    
                        <ul class="params-list">
                            
                            <li class="param">
                                
                                    <code class="param-name">req</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                                

                                <div class="param-description">
                                    <p>Request object containing information about
      the request. It contains the following properties.</p>
                                </div>

                                
                                    <ul class="params-list">
                                        
                                        <li class="param">
                                            
                                                <code class="param-name">params</code>
                                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                                            

                                            <div class="param-description">
                                                Captured parameters matched by
      the route path specification. If a string path was used and contained
      named parameters, then this will be a key/value hash mapping parameter
      names to their matched values. If a regex path was used, this will be
      an array of subpattern matches starting at index 0 for the full match,
      then 1 for the first subpattern match, and so on.
                                            </div>
                                        </li>
                                        
                                        <li class="param">
                                            
                                                <code class="param-name">path</code>
                                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                            

                                            <div class="param-description">
                                                The current URL path.
                                            </div>
                                        </li>
                                        
                                        <li class="param">
                                            
                                                <code class="param-name">pendingCallbacks</code>
                                                <span class="type"><a href="../classes/Number.html" class="crosslink">Number</a></span>
                                            

                                            <div class="param-description">
                                                Number of remaining
      callbacks the route handler has after this one in the dispatch chain.
                                            </div>
                                        </li>
                                        
                                        <li class="param">
                                            
                                                <code class="param-name">pendingRoutes</code>
                                                <span class="type"><a href="../classes/Number.html" class="crosslink">Number</a></span>
                                            

                                            <div class="param-description">
                                                Number of matching routes
      after this one in the dispatch chain.
                                            </div>
                                        </li>
                                        
                                        <li class="param">
                                            
                                                <code class="param-name">query</code>
                                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                                            

                                            <div class="param-description">
                                                Query hash representing the URL
      query string, if any. Parameter names are keys, and are mapped to
      parameter values.
                                            </div>
                                        </li>
                                        
                                        <li class="param">
                                            
                                                <code class="param-name">url</code>
                                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                            

                                            <div class="param-description">
                                                The full URL.
                                            </div>
                                        </li>
                                        
                                        <li class="param">
                                            
                                                <code class="param-name">src</code>
                                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                            

                                            <div class="param-description">
                                                What initiated the dispatch. In an
      HTML5 browser, when the back/forward buttons are used, this property
      will have a value of "popstate".
                                            </div>
                                        </li>
                                        
                                    </ul>
                                
                            </li>
                            
                            <li class="param">
                                
                                    <code class="param-name">res</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                                

                                <div class="param-description">
                                    <p>Response object containing methods and
      information that relate to responding to a request. It contains the
      following properties.</p>
                                </div>

                                
                                    <ul class="params-list">
                                        
                                        <li class="param">
                                            
                                                <code class="param-name">req</code>
                                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                                            

                                            <div class="param-description">
                                                Reference to the request object.
                                            </div>
                                        </li>
                                        
                                    </ul>
                                
                            </li>
                            
                            <li class="param">
                                
                                    <code class="param-name">next</code>
                                    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
                                

                                <div class="param-description">
                                    <p>Function to pass control to the next
      callback or the next matching route if no more callbacks (middleware)
      exist for the current route handler. If you don't call this function,
      then no further callbacks or route handlers will be executed, even if
      there are more that match. If you do call this function, then the next
      callback (if any) or matching route handler (if any) will be called.
      All of these functions will receive the same <code>req</code> and <code>res</code> objects
      that were passed to this route (so you can use these objects to pass
      data along to subsequent callbacks and routes).</p>
                                </div>

                                
                                    <ul class="params-list">
                                        
                                        <li class="param">
                                            
                                                <code class="param-name optional">[err]</code>
                                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                                <span class="flag optional" title="This parameter is optional.">optional</span>
                                            

                                            <div class="param-description">
                                                Optional error which will stop the
      dispatch chaining for this <code>req</code>, unless the value is <code>&quot;route&quot;</code>, which
      is special cased to jump skip past any callbacks for the current route
      and pass control the next route handler.
                                            </div>
                                        </li>
                                        
                                    </ul>
                                
                            </li>
                            
                        </ul>
                    
                </li>
            
            </ul>
        </div>
    

    

    
        <div class="example">
            <h4>Example:</h4>

            <div class="example-content">
                <pre class="code prettyprint"><code>router.route('/photos/:tag/:page', function (req, res, next) {
  Y.log('Current tag: ' + req.params.tag);
  Y.log('Current page number: ' + req.params.page);
});

// Using middleware.

router.findUser = function (req, res, next) {
    req.user = this.get('users').findById(req.params.user);
    next();
};

router.route('/users/:user', 'findUser', function (req, res, next) {
    // The <code>findUser</code> middleware puts the <code>user</code> object on the <code>req</code>.
    Y.log('Current user:' req.user.get('name'));
});
</code></pre>
            </div>
        </div>
    
</div>

                
                    <div id="method_save" class="method item">
    <h3 class="name"><code>save</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code class="optional">[url]</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    
        <span class="flag chainable">chainable</span>
    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l498"><code>app&#x2F;js&#x2F;router.js:498</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Saves a new browser history entry and dispatches to the first matching route
handler, if any.</p>

<p>Behind the scenes, this method uses HTML5 <code>pushState()</code> in browsers that
support it (or the location hash in older browsers and IE) to change the
URL and create a history entry.</p>

<p>The specified URL must share the same origin (i.e., protocol, host, and
port) as the current page, or an error will occur.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name optional">[url]</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>URL to set. This URL needs to be of the same origin as
  the current URL. This can be a URL relative to the router's <code>root</code>
  attribute. If no URL is specified, the page's current URL will be used.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
        <div class="example">
            <h4>Example:</h4>

            <div class="example-content">
                <pre class="code prettyprint"><code>// Starting URL: http://example.com/

router.save('/path/');
// New URL: http://example.com/path/

router.save('/path?foo=bar');
// New URL: http://example.com/path?foo=bar

router.save('/');
// New URL: http://example.com/
</code></pre>
            </div>
        </div>
    
</div>

                
                    <div id="method_set" class="method item inherited">
    <h3 class="name"><code>set</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>name</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>value</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code class="optional">[opts]</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
        </span>
    

    

    

    

    

    
        <span class="flag chainable">chainable</span>
    

    

    <div class="meta">
        
            <p>Inherited from
            <a href="../classes/AttributeObservable.html#method_set">
                AttributeObservable
            </a>
            
            but overwritten in
            
        
        
        <a href="../files/attribute_js_AttributeCore.js.html#l410"><code>attribute&#x2F;js&#x2F;AttributeCore.js:410</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Sets the value of an attribute.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">name</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The name of the attribute. If the
current value of the attribute is an Object, dot notation can be used
to set the value of a property within the object (e.g. <code>set("x.y.z", 5)</code>).</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">value</code>
                        <span class="type">Any</span>
                    

                    

                    <div class="param-description">
                        <p>The value to set the attribute to.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name optional">[opts]</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>Optional data providing the circumstances for the change.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
                    
                    A reference to the host object.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_setAttrs" class="method item inherited">
    <h3 class="name"><code>setAttrs</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>attrs</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code class="optional">[opts]</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
        </span>
    

    

    

    

    

    
        <span class="flag chainable">chainable</span>
    

    

    <div class="meta">
        
            <p>Inherited from
            <a href="../classes/AttributeObservable.html#method_setAttrs">
                AttributeObservable
            </a>
            
            but overwritten in
            
        
        
        <a href="../files/attribute_js_AttributeCore.js.html#l729"><code>attribute&#x2F;js&#x2F;AttributeCore.js:729</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Sets multiple attribute values.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">attrs</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                    

                    

                    <div class="param-description">
                        <p>An object with attributes name/value pairs.</p>
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name optional">[opts]</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>Optional data providing the circumstances for the change.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
                    
                    A reference to the host object.
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_subscribe" class="method item deprecated inherited">
    <h3 class="name"><code>subscribe</code></h3>

    
        <span class="paren">()</span>
    

    

    
        <span class="flag deprecated" title="use on">deprecated</span>
    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/EventTarget.html#method_subscribe">EventTarget</a>:
            
        
        
        <a href="../files/event-custom_js_event-target.js.html#l336"><code>event-custom&#x2F;js&#x2F;event-target.js:336</code></a>
        
        </p>


        
            <p>Deprecated: use on</p>
        

        
    </div>

    <div class="description">
        <p>subscribe to an event</p>
    </div>

    

    

    
</div>

                
                    <div id="method_toString" class="method item inherited">
    <h3 class="name"><code>toString</code></h3>

    
        <span class="paren">()</span>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/BaseCore.html#method_toString">BaseCore</a>:
            
        
        
        <a href="../files/base_js_BaseCore.js.html#l754"><code>base&#x2F;js&#x2F;BaseCore.js:754</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Default toString implementation. Provides the constructor NAME
and the instance guid, if set.</p>
    </div>

    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
                    
                    String representation for this object
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_unsubscribe" class="method item deprecated inherited">
    <h3 class="name"><code>unsubscribe</code></h3>

    
        <span class="paren">()</span>
    

    

    
        <span class="flag deprecated" title="use detach">deprecated</span>
    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/EventTarget.html#method_unsubscribe">EventTarget</a>:
            
        
        
        <a href="../files/event-custom_js_event-target.js.html#l459"><code>event-custom&#x2F;js&#x2F;event-target.js:459</code></a>
        
        </p>


        
            <p>Deprecated: use detach</p>
        

        
    </div>

    <div class="description">
        <p>detach a listener</p>
    </div>

    

    

    
</div>

                
                    <div id="method_unsubscribeAll" class="method item deprecated inherited">
    <h3 class="name"><code>unsubscribeAll</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>type</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    
        <span class="flag deprecated" title="use detachAll">deprecated</span>
    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/EventTarget.html#method_unsubscribeAll">EventTarget</a>:
            
        
        
        <a href="../files/event-custom_js_event-target.js.html#l480"><code>event-custom&#x2F;js&#x2F;event-target.js:480</code></a>
        
        </p>


        
            <p>Deprecated: use detachAll</p>
        

        
    </div>

    <div class="description">
        <p>Removes all listeners from the specified event.  If the event type
is not specified, all listeners from all hosted custom events will
be removed.</p>
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">type</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                    

                    

                    <div class="param-description">
                        <p>The type, or name of the event</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_upgrade" class="method item">
    <h3 class="name"><code>upgrade</code></h3>

    
        <span class="paren">()</span>
    

    
        <span class="returns-inline">
            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l532"><code>app&#x2F;js&#x2F;router.js:532</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Upgrades a hash-based URL to an HTML5 URL if necessary. In non-HTML5
browsers, this method is a noop.</p>
    </div>

    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
                    
                    <code>true</code> if the URL was upgraded, <code>false</code> otherwise.
                
            </div>
        </div>
    

    
</div>

                
            </div>
        

        
            <div id="properties" class="api-class-tabpanel">
                <h2 class="off-left">Properties</h2>

                
                    <div id="property__allowAdHocAttrs" class="property item protected inherited">
    <h3 class="name"><code>_allowAdHocAttrs</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>

    

    
        <span class="flag protected">protected</span>
    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/BaseCore.html#property__allowAdHocAttrs">BaseCore</a>:
            
        
        
        <a href="../files/base_js_BaseCore.js.html#l100"><code>base&#x2F;js&#x2F;BaseCore.js:100</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>This property controls whether or not instances of this class should
allow users to add ad-hoc attributes through the constructor configuration
hash.</p>

<p>AdHoc attributes are attributes which are not defined by the class, and are
not handled by the MyClass.<em>NON</em>ATTRS_CFG</p>
    </div>

    
        <p><strong>Default:</strong> undefined (false)</p>
    

    

    
</div>

                
                    <div id="property__dispatched" class="property item protected">
    <h3 class="name"><code>_dispatched</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>

    

    
        <span class="flag protected">protected</span>
    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l64"><code>app&#x2F;js&#x2F;router.js:64</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Whether or not <code>_dispatch()</code> has been called since this router was
instantiated.</p>
    </div>

    
        <p><strong>Default:</strong> undefined</p>
    

    

    
</div>

                
                    <div id="property__dispatching" class="property item protected">
    <h3 class="name"><code>_dispatching</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>

    

    
        <span class="flag protected">protected</span>
    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l74"><code>app&#x2F;js&#x2F;router.js:74</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Whether or not we're currently in the process of dispatching to routes.</p>
    </div>

    
        <p><strong>Default:</strong> undefined</p>
    

    

    
</div>

                
                    <div id="property__historyEvents" class="property item protected">
    <h3 class="name"><code>_historyEvents</code></h3>
    <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>

    

    
        <span class="flag protected">protected</span>
    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l83"><code>app&#x2F;js&#x2F;router.js:83</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>History event handle for the <code>history:change</code> or <code>hashchange</code> event
subscription.</p>
    </div>

    

    

    
</div>

                
                    <div id="property__html5" class="property item protected">
    <h3 class="name"><code>_html5</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>

    

    
        <span class="flag protected">protected</span>
    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l92"><code>app&#x2F;js&#x2F;router.js:92</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Cached copy of the <code>html5</code> attribute for internal use.</p>
    </div>

    

    

    
</div>

                
                    <div id="property__ready" class="property item protected">
    <h3 class="name"><code>_ready</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>

    

    
        <span class="flag protected">protected</span>
    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l100"><code>app&#x2F;js&#x2F;router.js:100</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Whether or not the <code>ready</code> event has fired yet.</p>
    </div>

    
        <p><strong>Default:</strong> undefined</p>
    

    

    
</div>

                
                    <div id="property__regexPathParam" class="property item protected">
    <h3 class="name"><code>_regexPathParam</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/RegExp" class="crosslink external" target="_blank">RegExp</a></span>

    

    
        <span class="flag protected">protected</span>
    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l109"><code>app&#x2F;js&#x2F;router.js:109</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Regex used to match parameter placeholders in route paths.</p>

<p>Subpattern captures:</p>

<ol>
<li><p>Parameter prefix character. Either a <code>:</code> for subpath parameters that
 should only match a single level of a path, or <code>*</code> for splat parameters
 that should match any number of path levels.</p></li>
<li><p>Parameter name, if specified, otherwise it is a wildcard match.</p></li>
</ol>
    </div>

    

    

    
</div>

                
                    <div id="property__regexUrlOrigin" class="property item protected">
    <h3 class="name"><code>_regexUrlOrigin</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/RegExp" class="crosslink external" target="_blank">RegExp</a></span>

    

    
        <span class="flag protected">protected</span>
    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l136"><code>app&#x2F;js&#x2F;router.js:136</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Regex that matches everything before the path portion of a URL (the origin).
This will be used to strip this part of the URL from a string when we
only want the path.</p>
    </div>

    

    

    
</div>

                
                    <div id="property__regexUrlQuery" class="property item protected">
    <h3 class="name"><code>_regexUrlQuery</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/RegExp" class="crosslink external" target="_blank">RegExp</a></span>

    

    
        <span class="flag protected">protected</span>
    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l126"><code>app&#x2F;js&#x2F;router.js:126</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Regex that matches and captures the query portion of a URL, minus the
preceding <code>?</code> character, and discarding the hash portion of the URL if any.</p>
    </div>

    

    

    
</div>

                
                    <div id="property_name" class="property item deprecated inherited">
    <h3 class="name"><code>name</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>

    
        <span class="flag deprecated" title="Use this.constructor.NAME">deprecated</span>
    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/BaseCore.html#property_name">BaseCore</a>:
            
        
        
        <a href="../files/base_js_BaseCore.js.html#l242"><code>base&#x2F;js&#x2F;BaseCore.js:242</code></a>
        
        </p>

        
            <p>Deprecated: Use this.constructor.NAME</p>
        

        
    </div>

    <div class="description">
        <p>The string used to identify the class of this object.</p>
    </div>

    

    

    
</div>

                
            </div>
        

        
            <div id="attrs" class="api-class-tabpanel">
                <h2 class="off-left">Attributes</h2>

                
                    <div id="attr_destroyed" class="attr item inherited">
    <a name="config_destroyed"></a> 
    <h3 class="name"><code>destroyed</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>

    

    

    

    

    

    

    
        <span class="flag readonly">readonly</span>
    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/BaseCore.html#attr_destroyed">BaseCore</a>:
            
        
        
        <a href="../files/base_js_BaseCore.js.html#l157"><code>base&#x2F;js&#x2F;BaseCore.js:157</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Flag indicating whether or not this object
has been through the destroy lifecycle phase.</p>
    </div>

    
        <p><strong>Default:</strong> false</p>
    

    
        <div class="emits box">
            <h4>Fires event <code>destroyedChange</code></h4>

            <p>
            Fires when the value for the configuration attribute <code>destroyed</code> is
            changed. You can listen for the event using the <code>on</code> method if you
            wish to be notified before the attribute's value has changed, or
            using the <code>after</code> method if you wish to be notified after the
            attribute's value has changed.
            </p>

            <div class="params">
                <h4>Parameters:</h4>

                <ul class="params-list">
                    <li class="param">
                        <code class="param-name">e</code>
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>

                        <div class="param-description">
                            An Event Facade object with the following
                            attribute-specific properties added:
                        </div>

                        <ul class="params-list">
                            <li class="param">
                                <code class="param-name">prevVal</code>
                                <span class="type">Any</span>
                                <div class="param-description">The value of the attribute, prior to it being set.</div>
                            </li>
                            <li class="param">
                                <code class="param-name">newVal</code>
                                <span class="type">Any</span>
                                <div class="param-description">The value the attribute is to be set to.</div>
                            </li>
                            <li class="param">
                                <code class="param-name">attrName</code>
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                <div class="param-description">The name of the attribute being set.</div>
                            </li>
                            <li class="param">
                                <code class="param-name">subAttrName</code>
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    

    
</div>

                
                    <div id="attr_html5" class="attr item">
    <a name="config_html5"></a> 
    <h3 class="name"><code>html5</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l1315"><code>app&#x2F;js&#x2F;router.js:1315</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Whether or not this browser is capable of using HTML5 history.</p>

<p>Setting this to <code>false</code> will force the use of hash-based history even on
HTML5 browsers, but please don't do this unless you understand the
consequences.</p>
    </div>

    

    
        <div class="emits box">
            <h4>Fires event <code>html5Change</code></h4>

            <p>
            Fires when the value for the configuration attribute <code>html5</code> is
            changed. You can listen for the event using the <code>on</code> method if you
            wish to be notified before the attribute's value has changed, or
            using the <code>after</code> method if you wish to be notified after the
            attribute's value has changed.
            </p>

            <div class="params">
                <h4>Parameters:</h4>

                <ul class="params-list">
                    <li class="param">
                        <code class="param-name">e</code>
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>

                        <div class="param-description">
                            An Event Facade object with the following
                            attribute-specific properties added:
                        </div>

                        <ul class="params-list">
                            <li class="param">
                                <code class="param-name">prevVal</code>
                                <span class="type">Any</span>
                                <div class="param-description">The value of the attribute, prior to it being set.</div>
                            </li>
                            <li class="param">
                                <code class="param-name">newVal</code>
                                <span class="type">Any</span>
                                <div class="param-description">The value the attribute is to be set to.</div>
                            </li>
                            <li class="param">
                                <code class="param-name">attrName</code>
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                <div class="param-description">The name of the attribute being set.</div>
                            </li>
                            <li class="param">
                                <code class="param-name">subAttrName</code>
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    

    
</div>

                
                    <div id="attr_initialized" class="attr item inherited">
    <a name="config_initialized"></a> 
    <h3 class="name"><code>initialized</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>

    

    

    

    

    

    

    
        <span class="flag readonly">readonly</span>
    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/BaseCore.html#attr_initialized">BaseCore</a>:
            
        
        
        <a href="../files/base_js_BaseCore.js.html#l143"><code>base&#x2F;js&#x2F;BaseCore.js:143</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Flag indicating whether or not this object
has been through the init lifecycle phase.</p>
    </div>

    
        <p><strong>Default:</strong> false</p>
    

    
        <div class="emits box">
            <h4>Fires event <code>initializedChange</code></h4>

            <p>
            Fires when the value for the configuration attribute <code>initialized</code> is
            changed. You can listen for the event using the <code>on</code> method if you
            wish to be notified before the attribute's value has changed, or
            using the <code>after</code> method if you wish to be notified after the
            attribute's value has changed.
            </p>

            <div class="params">
                <h4>Parameters:</h4>

                <ul class="params-list">
                    <li class="param">
                        <code class="param-name">e</code>
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>

                        <div class="param-description">
                            An Event Facade object with the following
                            attribute-specific properties added:
                        </div>

                        <ul class="params-list">
                            <li class="param">
                                <code class="param-name">prevVal</code>
                                <span class="type">Any</span>
                                <div class="param-description">The value of the attribute, prior to it being set.</div>
                            </li>
                            <li class="param">
                                <code class="param-name">newVal</code>
                                <span class="type">Any</span>
                                <div class="param-description">The value the attribute is to be set to.</div>
                            </li>
                            <li class="param">
                                <code class="param-name">attrName</code>
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                <div class="param-description">The name of the attribute being set.</div>
                            </li>
                            <li class="param">
                                <code class="param-name">subAttrName</code>
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    

    
</div>

                
                    <div id="attr_root" class="attr item">
    <a name="config_root"></a> 
    <h3 class="name"><code>root</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l1336"><code>app&#x2F;js&#x2F;router.js:1336</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Absolute root path from which all routes should be evaluated.</p>

<p>For example, if your router is running on a page at
<code>http://example.com/myapp/</code> and you add a route with the path <code>/</code>, your
route will never execute, because the path will always be preceded by
<code>/myapp</code>. Setting <code>root</code> to <code>/myapp</code> would cause all routes to be
evaluated relative to that root URL, so the <code>/</code> route would then execute
when the user browses to <code>http://example.com/myapp/</code>.</p>
    </div>

    
        <p><strong>Default:</strong> &#x60;&#x27;&#x27;&#x60;</p>
    

    
        <div class="emits box">
            <h4>Fires event <code>rootChange</code></h4>

            <p>
            Fires when the value for the configuration attribute <code>root</code> is
            changed. You can listen for the event using the <code>on</code> method if you
            wish to be notified before the attribute's value has changed, or
            using the <code>after</code> method if you wish to be notified after the
            attribute's value has changed.
            </p>

            <div class="params">
                <h4>Parameters:</h4>

                <ul class="params-list">
                    <li class="param">
                        <code class="param-name">e</code>
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>

                        <div class="param-description">
                            An Event Facade object with the following
                            attribute-specific properties added:
                        </div>

                        <ul class="params-list">
                            <li class="param">
                                <code class="param-name">prevVal</code>
                                <span class="type">Any</span>
                                <div class="param-description">The value of the attribute, prior to it being set.</div>
                            </li>
                            <li class="param">
                                <code class="param-name">newVal</code>
                                <span class="type">Any</span>
                                <div class="param-description">The value the attribute is to be set to.</div>
                            </li>
                            <li class="param">
                                <code class="param-name">attrName</code>
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                <div class="param-description">The name of the attribute being set.</div>
                            </li>
                            <li class="param">
                                <code class="param-name">subAttrName</code>
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    

    
</div>

                
                    <div id="attr_routes" class="attr item">
    <a name="config_routes"></a> 
    <h3 class="name"><code>routes</code></h3>
    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object[]</a></span>

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l1354"><code>app&#x2F;js&#x2F;router.js:1354</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Array of route objects.</p>

<p>Each item in the array must be an object with the following properties:</p>

<ul>
<li><p><code>path</code>: String or regex representing the path to match. See the docs
for the <code>route()</code> method for more details.</p></li>
<li><p><code>callbacks</code>: Function or a string representing the name of a
function on this router instance that should be called when the
route is triggered. An array of functions and/or strings may also be
provided. See the docs for the <code>route()</code> method for more details.</p></li>
</ul>

<p>This attribute is intended to be used to set routes at init time, or to
completely reset all routes after init. To add routes after init without
resetting all existing routes, use the <code>route()</code> method.</p>
    </div>

    
        <p><strong>Default:</strong> &#x60;[]&#x60;</p>
    

    
        <div class="emits box">
            <h4>Fires event <code>routesChange</code></h4>

            <p>
            Fires when the value for the configuration attribute <code>routes</code> is
            changed. You can listen for the event using the <code>on</code> method if you
            wish to be notified before the attribute's value has changed, or
            using the <code>after</code> method if you wish to be notified after the
            attribute's value has changed.
            </p>

            <div class="params">
                <h4>Parameters:</h4>

                <ul class="params-list">
                    <li class="param">
                        <code class="param-name">e</code>
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>

                        <div class="param-description">
                            An Event Facade object with the following
                            attribute-specific properties added:
                        </div>

                        <ul class="params-list">
                            <li class="param">
                                <code class="param-name">prevVal</code>
                                <span class="type">Any</span>
                                <div class="param-description">The value of the attribute, prior to it being set.</div>
                            </li>
                            <li class="param">
                                <code class="param-name">newVal</code>
                                <span class="type">Any</span>
                                <div class="param-description">The value the attribute is to be set to.</div>
                            </li>
                            <li class="param">
                                <code class="param-name">attrName</code>
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                <div class="param-description">The name of the attribute being set.</div>
                            </li>
                            <li class="param">
                                <code class="param-name">subAttrName</code>
                                <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
                                <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    

    
</div>

                
            </div>
        

        
            <div id="events" class="api-class-tabpanel">
                <h2 class="off-left">Events</h2>

                
                    <div id="event_destroy" class="events item inherited">
    <h3 class="name"><code>destroy</code></h3>
    <span class="type"></span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/BaseObservable.html#event_destroy">BaseObservable</a>:
            
        
        
        <a href="../files/base_js_BaseObservable.js.html#l151"><code>base&#x2F;js&#x2F;BaseObservable.js:151</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>
Lifecycle event for the destroy phase,
fired prior to destruction. Invoking the preventDefault
method on the event object provided to subscribers will
prevent destruction from proceeding.
</p>

<p>
Subscribers to the "after" moment of this event, will be notified
after destruction is complete (and as a result cannot prevent
destruction).
</p>
    </div>

    
        <div class="params">
            <h4>Event Payload:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">e</code>
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
                    

                    

                    <div class="param-description">
                        <p>Event object</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    


    
</div>

                
                    <div id="event_init" class="events item inherited">
    <h3 class="name"><code>init</code></h3>
    <span class="type"></span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/BaseObservable.html#event_init">BaseObservable</a>:
            
        
        
        <a href="../files/base_js_BaseObservable.js.html#l62"><code>base&#x2F;js&#x2F;BaseObservable.js:62</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>
Lifecycle event for the init phase, fired prior to initialization.
Invoking the preventDefault() method on the event object provided
to subscribers will prevent initialization from occuring.
</p>

<p>
Subscribers to the "after" momemt of this event, will be notified
after initialization of the object is complete (and therefore
cannot prevent initialization).
</p>
    </div>

    
        <div class="params">
            <h4>Event Payload:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">e</code>
                        <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
                    

                    

                    <div class="param-description">
                        <p>Event object, with a cfg property which
refers to the configuration object passed to the constructor.</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    


    
</div>

                
                    <div id="event_ready" class="events item">
    <h3 class="name"><code>ready</code></h3>
    <span class="type"></span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/app_js_router.js.html#l24"><code>app&#x2F;js&#x2F;router.js:24</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Fired when the router is ready to begin dispatching to route handlers.</p>

<p>You shouldn't need to wait for this event unless you plan to implement some
kind of custom dispatching logic. It's used internally in order to avoid
dispatching to an initial route if a browser history change occurs first.</p>
    </div>

    
        <div class="params">
            <h4>Event Payload:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">dispatched</code>
                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
                    

                    

                    <div class="param-description">
                        <p><code>true</code> if routes have already been dispatched
  (most likely due to a history change).</p>
                    </div>

                    
                </li>
            
            </ul>
        </div>
    


    
</div>

                
            </div>
        
    </div>
</div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="../assets/vendor/prettify/prettify-min.js"></script>
<script>prettyPrint();</script>
<script src="../assets/js/yui-prettify.js"></script>
<script src="../assets/../api.js"></script>
<script src="../assets/js/api-filter.js"></script>
<script src="../assets/js/api-list.js"></script>
<script src="../assets/js/api-search.js"></script>
<script src="../assets/js/apidocs.js"></script>
</body>
</html>