1.0.11 • Published 5 years ago

@customjs/ask v1.0.11

Weekly downloads
46
License
-
Repository
-
Last release
5 years ago

Custom JS Ask

Ask library for Angular 2+ apps

Instalation

install de lib

npm i @customjs/ask

Usage

Import the AskModule and user the service as you wish.

import { AskModule } from '@customjs/ask';

...
imports: [
  ...,
  AskModule
],
...
import { AskService } from '@customjs/ask';
...

  constructor(
    private askService: AskService
  ) {}

  askName() {
    this.askService.ask({
      title: 'Cookies';
      question?: 'Would you like to use cookies?';
      confirm?: 'YES';
      reject?: 'NO';
      cancel?: 'LATER';
      showReject?: true;
      hideCancel?: false;
      type?: 'info';
    })
  }
1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.2

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.1-beta.2

6 years ago

0.0.1-beta.1

6 years ago