New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aframe-debug-cursor-component

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aframe-debug-cursor-component

A component to pretty-log cursor events.

1.0.0
latest
Source
npm
Version published
Weekly downloads
3
-40%
Maintainers
1
Weekly downloads
 
Created
Source

aframe-debug-cursor-component

Version License

A component to pretty-log cursor events.

For A-Frame.

API

PropertyDescriptionDefault Value
enabledWhether to log.true

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

<body>
  <a-scene>
    <a-entity id="mouseCursor" cursor="rayOrigin: mouse" debug-cursor></a-entity>
  </a-scene>
</body>
npm

Install via npm:

npm install aframe-debug-cursor-component

Then require and use.

require('aframe');
require('aframe-debug-cursor-component');

Keywords

aframe

FAQs

Package last updated on 20 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts