Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular-aframe-pipe

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-aframe-pipe

A-Frame pipe for interop with Angular

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

angular-aframe-pipe

A-Frame pipe for Angular

Build Status

Installation

npm install --save angular-aframe-pipe

Usage

Import AframePipeModule into your app's modules:

import { AframePipeModule } from 'angular-aframe-pipe';

@NgModule({
  imports: [
    AframePipeModule
  ]
})

This makes all the aframe pipe available for use in your app components.

Using the pipe

Use the pipe whenever you need to pass a custom value as an attribute to a-frame element in your Angular template:

<a-sphere [attr.position]="{x: 0, y: height, z: 0} | aframe">
</a-sphere>

This will set the height of the sphere dynamically, based on the height property of your component.

License

MIT. Copyright (C) 2018, Uri Shaked.

Keywords

FAQs

Package last updated on 18 Apr 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc