mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
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:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user