{
  "name": "FountainheadClass.PropertyLink",
  "shortname": "FountainheadClass.PropertyLink",
  "classitems": [
    {
      "file": "addon/components/fountainhead-class/property-link.js",
      "line": 30,
      "itemtype": "property",
      "name": "tagName",
      "type": "{string}",
      "default": "''",
      "class": "FountainheadClass.PropertyLink",
      "srcFileId": "addon_components_fountainhead-class_property-link.js"
    }
  ],
  "plugins": [],
  "extensions": [],
  "plugin_for": [],
  "extension_for": [],
  "module": "Addon",
  "file": "addon/components/fountainhead-class/property-link.js",
  "line": 5,
  "description": "<p>Creates the property link used in the index tab for a class. Renders either an\nanchor or button based on consuming app's location type:</p>\n<ul>\n<li>History Location: An anchor with a href fragment matching the property name for\nthe link and an action for selecting the tab for that property.</li>\n<li>Hash Location: Button with an action for selecting the tab for that property and\nthen calling {{c-l class='Fountainhead'}} to update <code>id</code> query param to match\nproperty name.</li>\n</ul>\n<p>In both cases, the tab for the property must be selected first so that when the\nurl updates and the app then updates the property with the matching id is in DOM.</p>\n<p>For the anchor, this just means selecting the tab. The anchor click then bubbles\nand the browser handles scrolling to the matching id that is now in DOM b/c the\ncorrect tab has been selected.</p>\n<p>For the button, we have to manually DDAU the event. The correct tab is selected\nand query param id is then updated. The changed query param then triggers the\nclass page to scroll to the new id.</p>\n",
  "is_constructor": 1,
  "extends": "Ember.Component",
  "method": [],
  "property": [
    {
      "file": "addon/components/fountainhead-class/property-link.js",
      "line": 30,
      "itemtype": "property",
      "name": "tagName",
      "type": "{string}",
      "default": "''",
      "class": "FountainheadClass.PropertyLink",
      "srcFileId": "addon_components_fountainhead-class_property-link.js"
    }
  ],
  "event": [],
  "srcFileId": "addon_components_fountainhead-class_property-link.js"
}