{
  "name": "FounatianheadHeader",
  "shortname": "FounatianheadHeader",
  "classitems": [
    {
      "file": "addon/components/fountainhead-header.js",
      "line": 59,
      "description": "<p>Copies the current url to the clipboard by updating the value of the off-screen\ninput to the url, selecting it and then calling exec copy.</p>\n",
      "itemtype": "method",
      "name": "_copyToClipboard",
      "class": "FounatianheadHeader",
      "srcFileId": "addon_components_fountainhead-header.js"
    },
    {
      "file": "addon/components/fountainhead-header.js",
      "line": 50,
      "itemtype": "property",
      "name": "classNames",
      "type": "{string}",
      "default": "'fh-header'",
      "class": "FounatianheadHeader",
      "srcFileId": "addon_components_fountainhead-header.js"
    },
    {
      "file": "addon/components/fountainhead-header.js",
      "line": 35,
      "description": "<p>Specific element id is passed to click-to-copy elements in the template.</p>\n",
      "itemtype": "property",
      "name": "elementId",
      "type": "{string}",
      "class": "FounatianheadHeader",
      "srcFileId": "addon_components_fountainhead-header.js"
    },
    {
      "file": "addon/components/fountainhead-header.js",
      "line": 81,
      "description": "<p>Copy to clipboard method must run in next event loop so that the anchor click\ncan bubble and the browser can update the url before we grab it and copy it.</p>\n",
      "itemtype": "method",
      "name": "handleCopy",
      "action": "",
      "class": "FounatianheadHeader",
      "srcFileId": "addon_components_fountainhead-header.js"
    },
    {
      "file": "addon/components/fountainhead-header.js",
      "line": 41,
      "description": "<p>The <code>tagName</code> is passed to specify header size.</p>\n",
      "itemtype": "property",
      "name": "tagName",
      "type": "{string}",
      "class": "FounatianheadHeader",
      "srcFileId": "addon_components_fountainhead-header.js"
    }
  ],
  "plugins": [],
  "extensions": [],
  "plugin_for": [],
  "extension_for": [],
  "module": "Addon",
  "file": "addon/components/fountainhead-header.js",
  "line": 6,
  "description": "<p>This component is used for any header that should include a click-to-copy scroll target.\nFor any header in a Fountainhead Guide or Docblock, the\n{{c-l class='parseMarkdown'}} method automatically handles creating instances\nby adding new render\nrules for the <code>heading_open</code> and <code>heading_close</code> tokens generated by <code>markdown-it</code>.</p>\n<p>This automatically creates headers with fragment ids and\nclick to copy targets for grabbing the anchor for any header in your documentation!</p>\n<p>The <code>heading_open</code> token contains the HTML tag element for each header, it is\npassed in as the <code>tagName</code> property, which creates the correct header element.</p>\n<p>The {{c-l class='FountainheadCopyableLinkTo'}} component returns a text value\nmatching the href to copy, and is invoked differently depending on if the consuming\napp is using hash routing or not. If not, we use hash fragment ids like a normal\nweb page. If they are, a query param <code>id</code> is used. The\n{{c-l class='Fountainhead'}} service handles checking which target to use when\nscrolling to ids on page 'load' <em>(which is actually any page component's\n<code>didInsertElement</code> hook)</em>.</p>\n",
  "is_constructor": 1,
  "extends": "Ember.Component",
  "method": [
    {
      "file": "addon/components/fountainhead-header.js",
      "line": 59,
      "description": "<p>Copies the current url to the clipboard by updating the value of the off-screen\ninput to the url, selecting it and then calling exec copy.</p>\n",
      "itemtype": "method",
      "name": "_copyToClipboard",
      "class": "FounatianheadHeader",
      "srcFileId": "addon_components_fountainhead-header.js"
    },
    {
      "file": "addon/components/fountainhead-header.js",
      "line": 81,
      "description": "<p>Copy to clipboard method must run in next event loop so that the anchor click\ncan bubble and the browser can update the url before we grab it and copy it.</p>\n",
      "itemtype": "method",
      "name": "handleCopy",
      "action": "",
      "class": "FounatianheadHeader",
      "srcFileId": "addon_components_fountainhead-header.js"
    }
  ],
  "property": [
    {
      "file": "addon/components/fountainhead-header.js",
      "line": 50,
      "itemtype": "property",
      "name": "classNames",
      "type": "{string}",
      "default": "'fh-header'",
      "class": "FounatianheadHeader",
      "srcFileId": "addon_components_fountainhead-header.js"
    },
    {
      "file": "addon/components/fountainhead-header.js",
      "line": 35,
      "description": "<p>Specific element id is passed to click-to-copy elements in the template.</p>\n",
      "itemtype": "property",
      "name": "elementId",
      "type": "{string}",
      "class": "FounatianheadHeader",
      "srcFileId": "addon_components_fountainhead-header.js"
    },
    {
      "file": "addon/components/fountainhead-header.js",
      "line": 41,
      "description": "<p>The <code>tagName</code> is passed to specify header size.</p>\n",
      "itemtype": "property",
      "name": "tagName",
      "type": "{string}",
      "class": "FounatianheadHeader",
      "srcFileId": "addon_components_fountainhead-header.js"
    }
  ],
  "event": [],
  "srcFileId": "addon_components_fountainhead-header.js"
}