ngx-virtual-joystick
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

ngx virtual joystick

Angular 4 Click to edit component

Build Status codecov npm version devDependency Status GitHub issues GitHub stars GitHub license

Demo

Table of contents

About

Installation

Install through npm:

npm install --save ngx-virtual-joystick

Then include in your apps module:

import { Component, NgModule } from '@angular/core';
import { ngxVirtualJoystickModule } from 'ngx-virtual-joystick';
 
@NgModule({
  imports: [
    ngxVirtualJoystickModule.forRoot()
  ]
})
export class MyModule {}

Finally use in one of your apps components:

import { Component } from '@angular/core';
 
@Component({
  template: '<virtual-joystick></virtual-joystick>'
})
export class MyComponent {}

You may also find it useful to view the demo source.

Usage without a module bundler

<script src="node_modules/ngx-virtual-joystick/bundles/ngx-virtual-joystick.umd.js"></script>
<script>
    // everything is exported ngxVirtualJoystick namespace
</script>

Documentation

All documentation is auto-generated from the source via compodoc and can be viewed here: https://sijpesteijn.github.io/ngx-virtual-joystick/docs/

License

MIT

Package Sidebar

Install

npm i ngx-virtual-joystick

Weekly Downloads

27

Version

0.0.9

License

MIT

Last publish

Collaborators

  • sijpesteijn