0.1.2 • Published 6 years ago

aframe-tooltip-component v0.1.2

Weekly downloads
76
License
MIT
Repository
github
Last release
6 years ago

aframe-tooltip-component - WIP Please do not use it yet!

Version License

A Tooltip component for A-Frame.

For A-Frame.

npm.io

API

PropertyDescriptionDefault 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.5.0/aframe.min.js"></script>
  <script src="https://unpkg.com/aframe-tooltip-component/dist/aframe-tooltip-component.min.js"></script>
</head>

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

npm

Install via npm:

npm install aframe-tooltip-component

Then require and use.

require('aframe');
require('aframe-tooltip-component');