Skip to content

Commit

Permalink
refactor(portal): remove 6.0.0 deletion targets
Browse files Browse the repository at this point in the history
Removes the deletion targets for 6.0.0 in the `cdk/portal` entry point.

BREAKING CHANGES:
* The `portalHost` and `cdkPortalHost` inputs which were deprecated in 5.0.0 have been removed. Use `cdkPortalOutlet` instead.
  • Loading branch information
crisbeto committed Mar 5, 2018
1 parent a943b36 commit 6fddcd9
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/cdk/portal/portal-directives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import {
ViewContainerRef,
OnDestroy,
OnInit,
Input,
EventEmitter,
Output,
} from '@angular/core';
Expand Down Expand Up @@ -68,22 +67,6 @@ export class CdkPortalOutlet extends BasePortalOutlet implements OnInit, OnDestr
super();
}

/**
* @deprecated
* @deletion-target 6.0.0
*/
@Input('portalHost')
get _deprecatedPortal() { return this.portal; }
set _deprecatedPortal(v) { this.portal = v; }

/**
* @deprecated
* @deletion-target 6.0.0
*/
@Input('cdkPortalHost')
get _deprecatedPortalHost() { return this.portal; }
set _deprecatedPortalHost(v) { this.portal = v; }

/** Portal associated with the Portal outlet. */
get portal(): Portal<any> | null {
return this._attachedPortal;
Expand Down

0 comments on commit 6fddcd9

Please sign in to comment.