mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 04:53:58 +08:00
19 lines
435 B
TypeScript
19 lines
435 B
TypeScript
import {Directive} from 'angular2/core';
|
|
|
|
/**
|
|
* @private
|
|
*/
|
|
@Directive({
|
|
selector: 'ion-overlay'
|
|
})
|
|
export class OverlayNav {
|
|
|
|
constructor() {
|
|
// deprecated warning
|
|
console.warn('<ion-overlay> is no longer needed and can be safely removed.');
|
|
console.warn('https://github.com/driftyco/ionic2/blob/master/CHANGELOG.md#overlay-refactor');
|
|
console.warn('See the v2 docs for an update on how overlays work.');
|
|
}
|
|
|
|
}
|