How to use ng-busy - 1 common examples

To help you get started, we’ve selected a few ng-busy 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 victos / angular-opensource / src / app / modules / ng-busy-demo / component / custom-busy-component / custom-busy-component.component.ts View on Github external
</div>
      </div>
  `,
})
export class CustomBusyComponentComponent {

  constructor(@Inject('instanceConfigHolder') private instanceConfigHolder: InstanceConfigHolderService) {
  }

  get message() {
    return this.instanceConfigHolder.config.message;
  }
}

export const OPTIONS_TEMPLATE: Object = {
  default: BUSY_CONFIG_DEFAULTS.template,
  custom: CustomBusyComponentComponent
};

ng-busy

Show busy/loading indicators on any promise or subscription

MIT
Latest version published 6 months ago

Package Health Score

59 / 100
Full package analysis

Popular ng-busy functions