@customjs/ask
TypeScript icon, indicating that this package has built-in type declarations

1.0.11 • Public • Published

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';
    })
  }

/@customjs/ask/

    Package Sidebar

    Install

    npm i @customjs/ask

    Weekly Downloads

    7

    Version

    1.0.11

    License

    none

    Unpacked Size

    157 kB

    Total Files

    42

    Last publish

    Collaborators

    • gleivas
    • douglas.rfranco
    • vinagreti