refactor(): minor updates for next stencil version (#20787)

This commit is contained in:
Manu MA
2020-03-24 16:59:07 +01:00
committed by GitHub
parent 7a4ddde5ce
commit 976e68da5b
38 changed files with 6825 additions and 6862 deletions

View File

@ -1,4 +1,4 @@
import { Component, ComponentInterface, Element, Host, Listen, Prop, h } from '@stencil/core';
import { Component, ComponentInterface, Element, Host, Listen, Prop, forceUpdate, h } from '@stencil/core';
import { getIonMode } from '../../global/ionic-global';
import { Color, CssClassMap, StyleEventDetail } from '../../interface';
@ -76,7 +76,7 @@ export class Toolbar implements ComponentInterface {
if (hasStyleChange) {
this.childrenStyles.set(tagName, newStyles);
this.el.forceUpdate();
forceUpdate(this);
}
}