How to use the @covalent/core.LoadingMode.Indeterminate function in @covalent/core

To help you get started, we’ve selected a few @covalent/core 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 mprove-io / mprove / src / app / app.component.ts View on Github external
constructor(
    private printer: services.PrinterService,
    private loadingService: TdLoadingService
  ) {
    this.loadingService.create({
      name: 'app',
      type: LoadingType.Circular,
      mode: LoadingMode.Indeterminate
      // color: 'accent',
    });
  }
}
github saurabh1e / open-pos / src / app / inventory / brand / brand-form / brand-form.component.ts View on Github external
constructor(public dialogRef: MdDialogRef,
              private _loadingService: TdLoadingService,
              private _distributorService: DistributorService,
              private _shopService: RetailShopsService,
              private _brandService: BrandsService) {
    this._loadingService.create({
      name: 'brand-form',
      type: LoadingType.Circular,
      mode: LoadingMode.Indeterminate,
      color: 'warn',
    }); }
github saurabh1e / open-pos / src / app / login / login.component.ts View on Github external
constructor(private _router: Router,
              private _loadingService: TdLoadingService,
              private _userService: UsersService,
              private _authService: AuthService) {
    this._loadingService.create({
      name: 'login',
      type: LoadingType.Circular,
      mode: LoadingMode.Indeterminate,
      color: 'warn',
    });
  }
github saurabh1e / open-pos / src / app / inventory / salt / salt-form / salt-form.component.ts View on Github external
constructor(public dialogRef: MdDialogRef,
              private _loadingService: TdLoadingService,
              private _shopService: RetailShopsService,
              private _saltService: SaltsService) {
    this._loadingService.create({
      name: 'salt-form',
      type: LoadingType.Circular,
      mode: LoadingMode.Indeterminate,
      color: 'warn',
    }); }
github saurabh1e / open-pos / src / app / dashboard / printer-config / printer-config.component.ts View on Github external
constructor(private _shopService: RetailShopsService,
              private _dialogService: TdDialogService,
              private _indexDB: IndexDBServiceService,
              private _loadingService: TdLoadingService,
              private _snackBarService: MdSnackBar,
              private _printerService: PrinterConfigService,
              private _viewContainerRef: ViewContainerRef) {
    this._loadingService.create({
      name: 'printConfig',
      type: LoadingType.Circular,
      mode: LoadingMode.Indeterminate,
      color: 'warn',
    });
  }
github saurabh1e / open-pos / src / app / reporting / customer / customer.component.ts View on Github external
constructor(private _titleService: Title,
              private _loadingService: TdLoadingService,
              private _customerService: CustomerService,
              private _shopService: RetailShopsService,
              private _dialogService: TdDialogService) {
    this._loadingService.create({
      name: 'customer',
      type: LoadingType.Circular,
      mode: LoadingMode.Indeterminate,
      color: 'warn',
    });
  }
github saurabh1e / open-pos / src / app / inventory / brand / brand.component.ts View on Github external
constructor(
    private _titleService: Title,
    private _loadingService: TdLoadingService,
    private _brandService: BrandsService,
    private _userService: UsersService) {
    this._loadingService.create({
      name: 'products',
      type: LoadingType.Circular,
      mode: LoadingMode.Indeterminate,
      color: 'warn',
    });
  }
github saurabh1e / open-pos / src / app / inventory / tag / tag.component.ts View on Github external
constructor(
    private _titleService: Title,
    private _loadingService: TdLoadingService,
    private _tagService: TagsService,
    private _userService: UsersService) {
    this._loadingService.create({
      name: 'products',
      type: LoadingType.Circular,
      mode: LoadingMode.Indeterminate,
      color: 'warn',
    });
  }
github saurabh1e / open-pos / src / app / inventory / distributor / distributor.component.ts View on Github external
constructor(
    private _titleService: Title,
    private _loadingService: TdLoadingService,
    private _distributorService: DistributorService,
    private _userService: UsersService) {
    this._loadingService.create({
      name: 'products',
      type: LoadingType.Circular,
      mode: LoadingMode.Indeterminate,
      color: 'warn',
    });
  }
github saurabh1e / open-pos / src / app / staff / staff-detail / staff-detail.component.ts View on Github external
constructor(public dialogRef: MdDialogRef,
              private _userService: UsersService,
              private _roleService: RolesService,
              private _loadingService: TdLoadingService,) {
    this._loadingService.create({
      name: 'orders',
      type: LoadingType.Circular,
      mode: LoadingMode.Indeterminate,
      color: 'warn',
    });
  }