How to use angular2-promise-buttons - 2 common examples

To help you get started, we’ve selected a few angular2-promise-buttons examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github SapphireDb / SapphireDb / DemoClient / src / app / app.module.ts View on Github external
@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    ReactiveFormsModule,
    HttpClientModule,
    RealtimeDatabaseModule.config({
      serverBaseUrl: `${location.hostname}:${location.port}`,
      loginRedirect: 'account/login',
      unauthorizedRedirect: 'account/unauthorized'
      // secret: 'test123'
    }),
    AppRoutingModule,
    Angular2PromiseButtonModule.forRoot()
  ],
  bootstrap: [AppComponent]
})
export class AppModule {}
github johannesjo / super-productivity / src / app / ui / ui.module.ts View on Github external
FormlyModule.forChild({
      types: [{
        name: 'duration',
        component: InputDurationFormlyComponent,
        extends: 'input',
        wrappers: ['form-field'],
      }, {
        name: 'tpl',
        component: FormlyTranslatedTemplateComponent,
      }],
      extras: {
        immutable: true
      },
    }),
    FormlyMaterialModule,
    Angular2PromiseButtonModule.forRoot({
      // handleCurrentBtnOnly: true,
    }),
    DragulaModule.forRoot(),

    // my modules
    ValidationModule,
    BetterDrawerModule,
  ],
  declarations: [
    ...COMPONENT_AND_PIPES,
  ],
  entryComponents: [
    ...DIALOG_COMPONENTS
  ],
  exports: [
    ...COMPONENT_AND_PIPES,

angular2-promise-buttons

Chilled loading buttons for angular

MIT
Latest version published 5 months ago

Package Health Score

70 / 100
Full package analysis

Popular angular2-promise-buttons functions