package.json 1.55 KB
{
  "name": "@bootstrap-vue/link",
  "version": "1.0.0",
  "meta": {
    "title": "Link",
    "description": "Use BootstrapVue's custom <b-link> component for generating a standard <a> link or <router-link>. <b-link> supports the disabled state and click event propagation.",
    "components": [
      {
        "component": "BLink",
        "props": [
          {
            "prop": "href",
            "description": "Denotes the target URL of the link for standard a links"
          },
          {
            "prop": "rel",
            "description": "Sets the 'rel' attribute on the rendered link"
          },
          {
            "prop": "target",
            "description": "Sets the 'target' attribute on the rendered link"
          }
        ],
        "events": [
          {
            "event": "bv::link::clicked",
            "description": "Emitted on `$root` when link was clicked",
            "args": [
              {
                "name": "event",
                "type": "MouseEvent",
                "description": "Native click event"
              }
            ]
          },
          {
            "event": "click",
            "description": "Emitted when link was clicked",
            "args": [
              {
                "name": "event",
                "type": "MouseEvent",
                "description": "Native click event"
              }
            ]
          }
        ],
        "slots": [
          {
            "name": "default",
            "description": "Content to place in the link"
          }
        ]
      }
    ]
  }
}