Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TdLoadingService. Add property background (true, false) in method create. #823

Closed
MOTORIST opened this issue Aug 22, 2017 · 2 comments · Fixed by #941
Closed

TdLoadingService. Add property background (true, false) in method create. #823

MOTORIST opened this issue Aug 22, 2017 · 2 comments · Fixed by #941

Comments

@MOTORIST
Copy link

export interface ITdLoadingConfig {
    name: string;
    type?: LoadingType;
    mode?: LoadingMode;
    color?: 'primary' | 'accent' | 'warn';
    background: boolean
}

private _initPreloader(): void {
    this._preloader.create({
      name: 'preload',
      mode: LoadingMode.Indeterminate,
      type: LoadingType.Linear,
      background: false, // show / hide background
    });
 }
@emoralesb05
Copy link
Contributor

Is there a reason for this enhancement? Just trying to get more context of the use case

@MOTORIST
Copy link
Author

How to make preloader (linear) as github.com? Github have a preloader without a background.

@emoralesb05 emoralesb05 added this to the Release Candidate 0 milestone Oct 11, 2017
emoralesb05 pushed a commit that referenced this issue Oct 21, 2017
* feat(loader): Remove blocking background from linear loader

closes #823

* chore(): add linear overlay example in `boolean` demo

* fix(): create class for circular overlay to reduce scss code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants