{
  "name": "CrossLink",
  "shortname": "CrossLink",
  "classitems": [
    {
      "file": "addon/components/cross-link.js",
      "line": 106,
      "description": "<p>Computed model ID passed to rendered <code>link-to</code> defined in {{c-l 'init'}}</p>\n",
      "itemtype": "property",
      "name": "_modelID",
      "type": "{?string}",
      "access": "private",
      "tagname": "",
      "class": "CrossLink",
      "srcFileId": "addon_components_cross-link.js"
    },
    {
      "file": "addon/components/cross-link.js",
      "line": 99,
      "description": "<p>Computed route passed to rendered <code>link-to</code> defined in {{c-l 'init'}}</p>\n",
      "itemtype": "property",
      "name": "_route",
      "type": "{?string}",
      "access": "private",
      "tagname": "",
      "class": "CrossLink",
      "srcFileId": "addon_components_cross-link.js"
    },
    {
      "file": "addon/components/cross-link.js",
      "line": 75,
      "description": "<p>Documentation Class to crosslink to.</p>\n",
      "itemtype": "property",
      "name": "class",
      "type": "{?string}",
      "passed": "",
      "class": "CrossLink",
      "srcFileId": "addon_components_cross-link.js"
    },
    {
      "file": "addon/components/navigation-guides/group.js",
      "line": 14,
      "description": "<p>Protected tracking prop for guide group state.</p>\n",
      "itemtype": "property",
      "name": "expanded",
      "type": "Boolean",
      "access": "protected",
      "tagname": "",
      "default": "false",
      "class": "CrossLink",
      "srcFileId": "addon_components_navigation-guides_group.js"
    },
    {
      "file": "addon/components/navigation-guides/group.js",
      "line": 7,
      "itemtype": "property",
      "name": "guideGroup",
      "type": "Object",
      "access": "public",
      "tagname": "",
      "class": "CrossLink",
      "srcFileId": "addon_components_navigation-guides_group.js"
    },
    {
      "file": "addon/components/cross-link.js",
      "line": 122,
      "description": "<p>Handle setting a route and model for the template when appropriate + set text\nfor cross link for when component is used in inline form.</p>\n",
      "itemtype": "method",
      "name": "init",
      "class": "CrossLink",
      "srcFileId": "addon_components_cross-link.js"
    },
    {
      "file": "addon/components/cross-link.js",
      "line": 82,
      "description": "<p>Optionally specify an item (property/method) to cross link to on a class.</p>\n",
      "itemtype": "property",
      "name": "item",
      "type": "{?string}",
      "passed": "",
      "class": "CrossLink",
      "srcFileId": "addon_components_cross-link.js"
    },
    {
      "file": "addon/components/cross-link.js",
      "line": 89,
      "description": "<p>Documentation module to crosslink to.</p>\n",
      "itemtype": "property",
      "name": "module",
      "type": "{?string}",
      "passed": "",
      "class": "CrossLink",
      "srcFileId": "addon_components_cross-link.js"
    },
    {
      "file": "addon/components/cross-link.js",
      "line": 167,
      "description": "<p>Ember strips out hash fragments from link-tos, which means that when consumers\nwith History location click a cross-link pointing to a different route, Ember\nwill strip the hash.</p>\n<p>'Fix' this by setting <code>crossLinkFragmentOverride</code> on the route. When the\nroute <code>didTransition</code> fires, it will see the override and update the history +\nscroll to the cross link target.</p>\n",
      "itemtype": "method",
      "name": "setFragmentOverride",
      "class": "CrossLink",
      "srcFileId": "addon_components_cross-link.js"
    },
    {
      "file": "addon/components/cross-link.js",
      "line": 113,
      "itemtype": "property",
      "name": "tagName",
      "type": "{string}",
      "default": "''",
      "class": "CrossLink",
      "srcFileId": "addon_components_cross-link.js"
    },
    {
      "file": "addon/components/navigation-guides/group.js",
      "line": 25,
      "description": "<p>Called on click of group trigger, toggles height animation of group container\nand toggles {{c-l 'expanded'}} value.</p>\n",
      "itemtype": "method",
      "name": "toggle",
      "class": "CrossLink",
      "srcFileId": "addon_components_navigation-guides_group.js"
    }
  ],
  "plugins": [],
  "extensions": [],
  "plugin_for": [],
  "extension_for": [],
  "module": "Addon",
  "file": "addon/components/cross-link.js",
  "line": 6,
  "description": "<p>The <code>\\{{cross-link}}</code> component lets you easily reference other classes,\nmodules, properties and methods in your documentation. It handles creating the\nappropriate link depending on application routing type and presence of a\nclass property. The cross link component is also available using the shorthand\nsyntax: <code>\\{{c-l}}</code>.</p>\n<p>{{#fountainhead-alert brand='info' dismiss=false}}\n{{fountainhead-svg svgId='info'}} The cross link component is also available as\n<code>\\{{c-l}}</code> for terseness.\n{{/fountainhead-alert}}</p>\n{{#fountainhead-header tagName=\"h4\" elementId=\"same-class-cross-linking\"}}Same Class Cross Linking{{/fountainhead-header}}\n<pre class=\"language-handlebars\"><code class=\"language-handlebars\">Quickly link to a property <span class=\"token keyword\">in</span> the same <span class=\"token keyword\">class</span> <span class=\"token class-name\">using</span> positional params<span class=\"token punctuation\">:</span>\nTake a look at the <span class=\"token punctuation\">{</span><span class=\"token punctuation\">{</span>c<span class=\"token operator\">-</span>l <span class=\"token string\">'init'</span><span class=\"token punctuation\">}</span><span class=\"token punctuation\">}</span> method to see how the <span class=\"token punctuation\">{</span><span class=\"token punctuation\">{</span>c<span class=\"token operator\">-</span>l <span class=\"token string\">'_route'</span><span class=\"token punctuation\">}</span><span class=\"token punctuation\">}</span> property\nis <span class=\"token keyword\">set</span><span class=\"token punctuation\">.</span>\n</code></pre>\n<p>Quickly link to a property in the same class using positional params:\nTake a look at the {{c-l 'init'}} method to see how the {{c-l '_route'}} property\nis set.</p>\n{{#fountainhead-header tagName=\"h4\" elementId=\"other-class-cross-linking\"}}Other Class Cross Linking{{/fountainhead-header}}\n<pre class=\"language-handlebars\"><code class=\"language-handlebars\">Link to any other <span class=\"token keyword\">class</span><span class=\"token punctuation\">,</span> module<span class=\"token punctuation\">,</span> property<span class=\"token punctuation\">,</span> or method by passing a <span class=\"token template-string\"><span class=\"token string\">`class`</span></span> or\n<span class=\"token template-string\"><span class=\"token string\">`module`</span></span> property<span class=\"token punctuation\">:</span>\nTake a look at the <span class=\"token punctuation\">{</span><span class=\"token punctuation\">{</span>c<span class=\"token operator\">-</span>l <span class=\"token string\">'setFragmentId'</span> <span class=\"token keyword\">class</span><span class=\"token operator\">=</span><span class=\"token string\">'Fountainhead'</span><span class=\"token punctuation\">}</span><span class=\"token punctuation\">}</span> method to see\nhow the URL hash is <span class=\"token keyword\">set</span><span class=\"token punctuation\">.</span>\n</code></pre>\n<p>Link to any other class, module, property, or method by passing a <code>class</code> or\n<code>module</code> property:\nTake a look at the {{c-l 'setFragmentId' class='Fountainhead'}} method to see\nhow the URL hash is set.</p>\n{{#fountainhead-header tagName=\"h4\" elementId=\"block-form\"}}Block Form{{/fountainhead-header}}\n<p>When used as an inline component, the rendered link-to's text will be the\nID of the module or class along with any passed query params. If you want\ndifferent link text you can use the component in block form.</p>\n<table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>class</code></td>\n<td>Documentation class to link to</td>\n</tr>\n<tr>\n<td><code>module</code></td>\n<td>Documentation module to link to</td>\n</tr>\n<tr>\n<td><code>item</code></td>\n<td>Specific documentation item to link to, appended as a query param</td>\n</tr>\n</tbody>\n</table>\n<p>{{! --------------------------------------------------------------------- }}\n{{! TEST CASES: B/c Ember Integration Tests + link-to === 💣              }}\n{{! Uncomment cases below and check in browser                            }}\n{{! --------------------------------------------------------------------- }}\n{{! Postional Params }}\n{{! ## Testing }}\n{{!-- {{c-l 'init'}}<br> --}}\n{{!-- {{#c-l 'init'}}BLOCK TEXT{{/c-l}}<br> --}}\n{{! Passed Item }}\n{{!-- {{c-l item='init'}}<br> --}}\n{{!-- {{#c-l item='init'}}BLOCK TEXT{{/c-l}}<br> --}}\n{{! Passed Module }}\n{{!-- {{c-l module='Addon'}}<br> --}}\n{{!-- {{#c-l module='Addon'}}ADDON MODULE{{/c-l}}<br> --}}\n{{! Passed Class }}\n{{!-- {{c-l class='CrossLink' item='init'}} <br> --}}\n{{!-- {{#c-l class='CrossLink' item='init'}}BLOCK TEXT{{/c-l}}<br> --}}\n{{!-- {{c-l class='Fountainhead'}}<br> --}}\n{{!-- {{c-l class='Fountainhead' item='meta'}}<br> --}}\n{{!-- {{#c-l class='Fountainhead' item='meta'}}BLOCK TEXT{{/c-l}}<br> --}}</p>\n",
  "access": "public",
  "tagname": "",
  "is_constructor": 1,
  "extends": "Ember.Component",
  "method": [
    {
      "file": "addon/components/cross-link.js",
      "line": 122,
      "description": "<p>Handle setting a route and model for the template when appropriate + set text\nfor cross link for when component is used in inline form.</p>\n",
      "itemtype": "method",
      "name": "init",
      "class": "CrossLink",
      "srcFileId": "addon_components_cross-link.js"
    },
    {
      "file": "addon/components/cross-link.js",
      "line": 167,
      "description": "<p>Ember strips out hash fragments from link-tos, which means that when consumers\nwith History location click a cross-link pointing to a different route, Ember\nwill strip the hash.</p>\n<p>'Fix' this by setting <code>crossLinkFragmentOverride</code> on the route. When the\nroute <code>didTransition</code> fires, it will see the override and update the history +\nscroll to the cross link target.</p>\n",
      "itemtype": "method",
      "name": "setFragmentOverride",
      "class": "CrossLink",
      "srcFileId": "addon_components_cross-link.js"
    },
    {
      "file": "addon/components/navigation-guides/group.js",
      "line": 25,
      "description": "<p>Called on click of group trigger, toggles height animation of group container\nand toggles {{c-l 'expanded'}} value.</p>\n",
      "itemtype": "method",
      "name": "toggle",
      "class": "CrossLink",
      "srcFileId": "addon_components_navigation-guides_group.js"
    }
  ],
  "property": [
    {
      "file": "addon/components/cross-link.js",
      "line": 106,
      "description": "<p>Computed model ID passed to rendered <code>link-to</code> defined in {{c-l 'init'}}</p>\n",
      "itemtype": "property",
      "name": "_modelID",
      "type": "{?string}",
      "access": "private",
      "tagname": "",
      "class": "CrossLink",
      "srcFileId": "addon_components_cross-link.js"
    },
    {
      "file": "addon/components/cross-link.js",
      "line": 99,
      "description": "<p>Computed route passed to rendered <code>link-to</code> defined in {{c-l 'init'}}</p>\n",
      "itemtype": "property",
      "name": "_route",
      "type": "{?string}",
      "access": "private",
      "tagname": "",
      "class": "CrossLink",
      "srcFileId": "addon_components_cross-link.js"
    },
    {
      "file": "addon/components/cross-link.js",
      "line": 75,
      "description": "<p>Documentation Class to crosslink to.</p>\n",
      "itemtype": "property",
      "name": "class",
      "type": "{?string}",
      "passed": "",
      "class": "CrossLink",
      "srcFileId": "addon_components_cross-link.js"
    },
    {
      "file": "addon/components/navigation-guides/group.js",
      "line": 14,
      "description": "<p>Protected tracking prop for guide group state.</p>\n",
      "itemtype": "property",
      "name": "expanded",
      "type": "Boolean",
      "access": "protected",
      "tagname": "",
      "default": "false",
      "class": "CrossLink",
      "srcFileId": "addon_components_navigation-guides_group.js"
    },
    {
      "file": "addon/components/navigation-guides/group.js",
      "line": 7,
      "itemtype": "property",
      "name": "guideGroup",
      "type": "Object",
      "access": "public",
      "tagname": "",
      "class": "CrossLink",
      "srcFileId": "addon_components_navigation-guides_group.js"
    },
    {
      "file": "addon/components/cross-link.js",
      "line": 82,
      "description": "<p>Optionally specify an item (property/method) to cross link to on a class.</p>\n",
      "itemtype": "property",
      "name": "item",
      "type": "{?string}",
      "passed": "",
      "class": "CrossLink",
      "srcFileId": "addon_components_cross-link.js"
    },
    {
      "file": "addon/components/cross-link.js",
      "line": 89,
      "description": "<p>Documentation module to crosslink to.</p>\n",
      "itemtype": "property",
      "name": "module",
      "type": "{?string}",
      "passed": "",
      "class": "CrossLink",
      "srcFileId": "addon_components_cross-link.js"
    },
    {
      "file": "addon/components/cross-link.js",
      "line": 113,
      "itemtype": "property",
      "name": "tagName",
      "type": "{string}",
      "default": "''",
      "class": "CrossLink",
      "srcFileId": "addon_components_cross-link.js"
    }
  ],
  "event": [],
  "srcFileId": "addon_components_cross-link.js"
}