mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
fix(datetime): fixes date time in 3.0 + perf improvements
This commit is contained in:
@ -116,6 +116,8 @@ export class ViewController {
|
||||
* @hidden
|
||||
*/
|
||||
init(componentRef: ComponentRef<any>) {
|
||||
assert(componentRef, 'componentRef can not be null');
|
||||
|
||||
this._cmp = componentRef;
|
||||
this.instance = this.instance || componentRef.instance;
|
||||
this._detached = false;
|
||||
|
||||
Reference in New Issue
Block a user