Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.3 KB

File metadata and controls

39 lines (29 loc) · 1.3 KB

aframe-border-component

Module

aframe-border-component.schema

defines the attribute properties

Kind: static property of aframe-border-component
Object:

aframe-border-component.Component()

Specification for registering a border component with Aframe

Kind: static method of aframe-border-component
Example (browserify example)

var border = require('aframe-border-component');
if (AFRAME.aframeCore) {
   AFRAME.aframeCore.registerComponent("border", border.Component);
} else {
   AFRAME.registerComponent("border", border.Component);
}

aframe-border-component.init()

Called once when component is attached. Generally for initial setup.

Kind: static method of aframe-border-component