New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

aframe-slice9-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-slice9-component

A Slice9 component for A-Frame.

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
180
45.16%
Maintainers
1
Weekly downloads
 
Created
Source

aframe-slice9-component

A Slice9 component for A-Frame.

For A-Frame.

API

PropertyDescriptionDefault Value
width1
height1
left0
right0
bottom0
top0
sidefront
padding0.1
color#fff
opacity1.0
transparenttrue
debugfalse
map''

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

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

npm

Install via npm:

npm install aframe-slice9-component

Then require and use.

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

Keywords

aframe

FAQs

Package last updated on 27 Mar 2017

Related posts