{
  "name": "FountainheadClass.ItemsContainer",
  "shortname": "FountainheadClass.ItemsContainer",
  "classitems": [
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 102,
      "description": "<p>Handles finding the classitem model using the <code>item</code> query param value.\nIf a classitem is found, initiate a scroll.</p>\n",
      "itemtype": "method",
      "name": "_selectTabForProperty",
      "access": "protected",
      "tagname": "",
      "params": [
        {
          "name": "id",
          "description": "<p>The id identifying which property to scroll to</p>\n",
          "type": "!string"
        }
      ],
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    },
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 74,
      "description": "<p>The currently active tab. This is controlled by this component to allow\nus to change the tab whenever a documentation item is clicked in the index\npanel.</p>\n",
      "itemtype": "property",
      "name": "activeTab",
      "type": "{string}",
      "access": "protected",
      "tagname": "",
      "default": "indexPanel",
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    },
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 84,
      "itemtype": "property",
      "name": "classNames",
      "type": "{Array}",
      "default": "['fh-tabs-container']",
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    },
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 22,
      "description": "<p>Array of <em>ALL</em> items for this class. Used to find the type when an item is\nspecified in a query param.</p>\n",
      "itemtype": "property",
      "name": "classitems",
      "type": "{Array}",
      "default": "[]",
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    },
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 90,
      "description": "<p>The panel that that the tabs should render on creation. The tabs component\ntracks this separately and it needs to be updated separately when a class\npage is loaded with an item query parameter.</p>\n",
      "itemtype": "property",
      "name": "defaultTab",
      "type": "{string}",
      "default": "'indexPanel'",
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    },
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 131,
      "description": "<p>When component attributes change, either the backing data or the scroll target\nhas changed. Use {{c-l 'fragmentId'}} to reset tabs to index panel if there\nis no scroll target, or select the correct tab for a scroll target.</p>\n",
      "itemtype": "event",
      "name": "didReceiveAttrs",
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    },
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 30,
      "description": "<p>This class' array of event documentation items.</p>\n",
      "itemtype": "property",
      "name": "event",
      "type": "{Array}",
      "default": "[]",
      "passed": "",
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    },
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 38,
      "description": "<p>Route scroll target passed in to allow automatic scrolling in\n{{c-l 'didReceiveAttrs'}} hook.</p>\n",
      "itemtype": "property",
      "name": "fragmentId",
      "passed": "",
      "type": "{?string}",
      "default": "null",
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    },
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 47,
      "description": "<p>This class' array of method documentation items.</p>\n",
      "itemtype": "property",
      "name": "method",
      "type": "{Array}",
      "default": "[]",
      "passed": "",
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    },
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 55,
      "description": "<p>Name of the class. Is checked in <code>didReceiveAttrs</code> to know if the tabs\nshould be reset to the index panel</p>\n",
      "itemtype": "property",
      "name": "name",
      "type": "{string}",
      "passed": "",
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    },
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 63,
      "description": "<p>This class' array of property documentation items.</p>\n",
      "itemtype": "property",
      "name": "property",
      "type": "{Array}",
      "default": "[]",
      "passed": "",
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    },
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 151,
      "description": "<p>Closure action passed to {{c-l class='FountainheadClass.PropertyLink'}} instances\nso that the tab for the property can be selected when a property is clicked\nbefore the selection bubbles up and the browser attempts to find the matching\nid for the property.</p>\n",
      "itemtype": "method",
      "name": "selectTabForProperty",
      "params": [
        {
          "name": "id",
          "description": "<p>Id of the property matches the name of the property</p>\n",
          "type": "String"
        }
      ],
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    },
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 162,
      "description": "<p>Closure action passed into the tab component. This action is called\nwhenever a tab is clicked with the id of the tab. Use this to update the\ncontrolling <code>activeTab</code> property for the tabs DDAU style.</p>\n",
      "itemtype": "method",
      "name": "tabChanged",
      "action": "",
      "params": [
        {
          "name": "tab",
          "description": "<p>Backing object for a given tab</p>\n",
          "type": "Object",
          "props": [
            {
              "name": "elementId",
              "description": "The id of the tab, controls current tab displayed",
              "type": "String"
            }
          ]
        }
      ],
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    }
  ],
  "plugins": [],
  "extensions": [],
  "plugin_for": [],
  "extension_for": [],
  "module": "Addon",
  "file": "addon/components/fountainhead-class/items-container.js",
  "line": 5,
  "description": "<p>Tab container for the class' documentation items. Component handles running\na controlled instance of <code>fountainhead-tabs</code> by tracking <code>activeTab</code>\ninternally and passing <code>tabChanged</code> to the <code>fountainhead-tabs</code> instance.</p>\n<p>The active tab is reset to the index panel anytime that the <code>name</code> (of the\nclass) changes.</p>\n",
  "is_constructor": 1,
  "extends": "Ember.Component",
  "method": [
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 102,
      "description": "<p>Handles finding the classitem model using the <code>item</code> query param value.\nIf a classitem is found, initiate a scroll.</p>\n",
      "itemtype": "method",
      "name": "_selectTabForProperty",
      "access": "protected",
      "tagname": "",
      "params": [
        {
          "name": "id",
          "description": "<p>The id identifying which property to scroll to</p>\n",
          "type": "!string"
        }
      ],
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    },
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 151,
      "description": "<p>Closure action passed to {{c-l class='FountainheadClass.PropertyLink'}} instances\nso that the tab for the property can be selected when a property is clicked\nbefore the selection bubbles up and the browser attempts to find the matching\nid for the property.</p>\n",
      "itemtype": "method",
      "name": "selectTabForProperty",
      "params": [
        {
          "name": "id",
          "description": "<p>Id of the property matches the name of the property</p>\n",
          "type": "String"
        }
      ],
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    },
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 162,
      "description": "<p>Closure action passed into the tab component. This action is called\nwhenever a tab is clicked with the id of the tab. Use this to update the\ncontrolling <code>activeTab</code> property for the tabs DDAU style.</p>\n",
      "itemtype": "method",
      "name": "tabChanged",
      "action": "",
      "params": [
        {
          "name": "tab",
          "description": "<p>Backing object for a given tab</p>\n",
          "type": "Object",
          "props": [
            {
              "name": "elementId",
              "description": "The id of the tab, controls current tab displayed",
              "type": "String"
            }
          ]
        }
      ],
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    }
  ],
  "property": [
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 74,
      "description": "<p>The currently active tab. This is controlled by this component to allow\nus to change the tab whenever a documentation item is clicked in the index\npanel.</p>\n",
      "itemtype": "property",
      "name": "activeTab",
      "type": "{string}",
      "access": "protected",
      "tagname": "",
      "default": "indexPanel",
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    },
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 84,
      "itemtype": "property",
      "name": "classNames",
      "type": "{Array}",
      "default": "['fh-tabs-container']",
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    },
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 22,
      "description": "<p>Array of <em>ALL</em> items for this class. Used to find the type when an item is\nspecified in a query param.</p>\n",
      "itemtype": "property",
      "name": "classitems",
      "type": "{Array}",
      "default": "[]",
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    },
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 90,
      "description": "<p>The panel that that the tabs should render on creation. The tabs component\ntracks this separately and it needs to be updated separately when a class\npage is loaded with an item query parameter.</p>\n",
      "itemtype": "property",
      "name": "defaultTab",
      "type": "{string}",
      "default": "'indexPanel'",
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    },
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 30,
      "description": "<p>This class' array of event documentation items.</p>\n",
      "itemtype": "property",
      "name": "event",
      "type": "{Array}",
      "default": "[]",
      "passed": "",
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    },
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 38,
      "description": "<p>Route scroll target passed in to allow automatic scrolling in\n{{c-l 'didReceiveAttrs'}} hook.</p>\n",
      "itemtype": "property",
      "name": "fragmentId",
      "passed": "",
      "type": "{?string}",
      "default": "null",
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    },
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 47,
      "description": "<p>This class' array of method documentation items.</p>\n",
      "itemtype": "property",
      "name": "method",
      "type": "{Array}",
      "default": "[]",
      "passed": "",
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    },
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 55,
      "description": "<p>Name of the class. Is checked in <code>didReceiveAttrs</code> to know if the tabs\nshould be reset to the index panel</p>\n",
      "itemtype": "property",
      "name": "name",
      "type": "{string}",
      "passed": "",
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    },
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 63,
      "description": "<p>This class' array of property documentation items.</p>\n",
      "itemtype": "property",
      "name": "property",
      "type": "{Array}",
      "default": "[]",
      "passed": "",
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    }
  ],
  "event": [
    {
      "file": "addon/components/fountainhead-class/items-container.js",
      "line": 131,
      "description": "<p>When component attributes change, either the backing data or the scroll target\nhas changed. Use {{c-l 'fragmentId'}} to reset tabs to index panel if there\nis no scroll target, or select the correct tab for a scroll target.</p>\n",
      "itemtype": "event",
      "name": "didReceiveAttrs",
      "class": "FountainheadClass.ItemsContainer",
      "srcFileId": "addon_components_fountainhead-class_items-container.js"
    }
  ],
  "srcFileId": "addon_components_fountainhead-class_items-container.js"
}