Skip to content

sijpesteijn/ngx-virtual-joystick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ngx virtual joystick

Angular 4 Click to edit component

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

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages