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

4.0.3 • Public • Published

NgxJoystick

NgxJoystick is an angular joystick component. It is a wrapper around the nipplejs library providing joystick functionality to your angular application.

Demo

https://wweitzel.github.io/ngx-joystick/


Installation

For Angular 16 projects

npm install ngx-joystick

For Angular 15 projects

npm install ngx-joystick@3.0.2

For Angular 14 projects

npm install ngx-joystick@2.0.1

For Angular 12 projects

npm install ngx-joystick@1.0.6

For Angular 11 projects

npm install ngx-joystick@1.0.3

For Angular 8 projects

npm install ngx-joystick@0.1.1

https://www.npmjs.com/package/ngx-joystick


Example Usage

Import NgxJoystickModule in your module. For example,

import { NgxJoystickModule } from 'ngx-joystick';  <--- Added

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    NgxJoystickModule <--- Added
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Then see src/app files for usage. Make sure to look at the css as well.

Package Sidebar

Install

npm i ngx-joystick

Weekly Downloads

73

Version

4.0.3

License

MIT

Unpacked Size

45.2 kB

Total Files

12

Last publish

Collaborators

  • wweitzel