@editvr/aframe-simple-link-component

Provides a component that makes an entity into a clickable link hotspot. Simple alternative to using <a-link>.

Stats

StarsIssuesVersionUpdatedCreatedSize
@editvr/aframe-simple-link-component
201.4.03 years ago3 years agoMinified + gzip package size for @editvr/aframe-simple-link-component in KB

Readme

aframe-simple-link-component

Version CircleCI License

Provides a component that makes an entity into a clickable link hotspot. Simple alternative to using <a-link>.

For A-Frame.

API

Property Description Default Value

Installation

Browser

Install and use by directly including the browser files:

<head>
  <title>My A-Frame Scene</title>
  <script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
  <script src="https://unpkg.com/@editvr/aframe-simple-link-component/dist/aframe-simple-link-component.min.js"></script>
</head>

<body>
  <a-scene>
    <a-entity simple-link="foo: bar"></a-entity>
  </a-scene>
</body>

npm

Install via npm:

npm install @editvr/aframe-simple-link-component

Then require and use.

require('aframe');
require('@editvr/aframe-simple-link-component');

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.