diff --git a/src/platform/core/loading/directives/loading.directive.ts b/src/platform/core/loading/directives/loading.directive.ts index 9a72d137dc..603bcc34b9 100644 --- a/src/platform/core/loading/directives/loading.directive.ts +++ b/src/platform/core/loading/directives/loading.directive.ts @@ -25,17 +25,6 @@ export class TdLoadingDirective implements OnInit, OnDestroy { this._name = name; } - /** - * @deprecated in 1.0.0-beta.1 - * - * Please use the `tdLoadingType` method. - */ - @Input('loadingType') - set typeDeprecated(type: LoadingType) { - /* tslint:disable-next-line */ - console.warn("loadingType is deprecated. Please use tdLoadingType instead"); - this.type = type; - } /** * tdLoadingType?: LoadingType or ['linear' | 'circular'] * Sets the type of loading mask depending on value. @@ -53,17 +42,6 @@ export class TdLoadingDirective implements OnInit, OnDestroy { } } - /** - * @deprecated in 1.0.0-beta.1 - * - * Please use the `tdLoadingMode` method. - */ - @Input('loadingMode') - set modeDeprecated(mode: LoadingMode) { - /* tslint:disable-next-line */ - console.warn("loadingMode is deprecated. Please use tdLoadingMode instead"); - this.mode = mode; - } /** * tdLoadingMode?: LoadingMode or ['determinate' | 'indeterminate'] * Sets the mode of loading mask depending on value. diff --git a/src/platform/core/loading/loading.module.ts b/src/platform/core/loading/loading.module.ts index adf612c4ec..01a81cfe33 100644 --- a/src/platform/core/loading/loading.module.ts +++ b/src/platform/core/loading/loading.module.ts @@ -19,7 +19,7 @@ const TD_LOADING_ENTRY_COMPONENTS: Type[] = [ ]; export { LoadingType, LoadingMode, LoadingStrategy } from './loading.component'; -export { TdLoadingService, ITdLoadingConfig, ILoadingOptions } from './services/loading.service'; +export { TdLoadingService, ITdLoadingConfig } from './services/loading.service'; @NgModule({ imports: [ diff --git a/src/platform/core/loading/services/loading.service.ts b/src/platform/core/loading/services/loading.service.ts index 7066b73076..5f4ada7a80 100644 --- a/src/platform/core/loading/services/loading.service.ts +++ b/src/platform/core/loading/services/loading.service.ts @@ -7,15 +7,6 @@ import { Subscription } from 'rxjs/Subscription'; import { TdLoadingComponent, LoadingMode, LoadingStrategy, LoadingType } from '../loading.component'; import { TdLoadingFactory, ILoadingRef } from './loading.factory'; -/** - * @deprecated in 1.0.0-beta.1 - */ -export interface ILoadingOptions { - name: string; - type?: LoadingType; - mode?: LoadingMode; -} - export interface ITdLoadingConfig { name: string; type?: LoadingType; @@ -105,17 +96,6 @@ export class TdLoadingService { this._context[fullscreenConfig.name] = this._loadingFactory.createFullScreenComponent(fullscreenConfig); } - /** - * @deprecated in 1.0.0-beta.1 - * - * Please use the `create()` method. - */ - public createOverlayComponent(config: ITdLoadingConfig, viewContainerRef: ViewContainerRef): void { - /* tslint:disable-next-line */ - console.warn("createOverlayComponent() is deprecated. Please use create() instead"); - this.create(config); - } - /** * params: * - name: string