refactor(all): updating to newest stencil apis (#18578)

* chore(): update ionicons

* refactor(all): updating to newest stencil apis

* fix lint issues

* more changes

* moreee

* fix treeshaking

* fix config

* fix checkbox

* fix stuff

* chore(): update ionicons

* fix linting errors
This commit is contained in:
Manu MA
2019-06-23 11:26:42 +02:00
committed by GitHub
parent 78e477b2a7
commit 34dfc3ce98
112 changed files with 1229 additions and 1233 deletions

View File

@ -15,8 +15,6 @@ export class ItemOptions implements ComponentInterface {
@Element() el!: HTMLElement;
@Prop({ context: 'window' }) win!: Window;
/**
* The side the option button should be on. Possible values: `"start"` and `"end"`. If you have multiple `ion-item-options`, a side must be provided for each.
*
@ -38,11 +36,11 @@ export class ItemOptions implements ComponentInterface {
hostData() {
const mode = getIonMode(this);
const isEnd = isEndSide(this.win, this.side);
const isEnd = isEndSide(this.side);
return {
class: {
[`${mode}`]: true,
[mode]: true,
// Used internally for styling
[`item-options-${mode}`]: true,