diff --git a/core/src/components/action-sheet/action-sheet-interface.ts b/core/src/components/action-sheet/action-sheet-interface.ts index 9428b59b014..465c50e050e 100644 --- a/core/src/components/action-sheet/action-sheet-interface.ts +++ b/core/src/components/action-sheet/action-sheet-interface.ts @@ -23,6 +23,7 @@ export interface ActionSheetButton { icon?: string; cssClass?: string | string[]; id?: string; + htmlAttributes?: { [key: string]: any }; handler?: () => boolean | void | Promise; data?: T; } diff --git a/core/src/components/action-sheet/action-sheet.tsx b/core/src/components/action-sheet/action-sheet.tsx index 9a877054cfb..e6854c8fdd7 100644 --- a/core/src/components/action-sheet/action-sheet.tsx +++ b/core/src/components/action-sheet/action-sheet.tsx @@ -386,7 +386,13 @@ export class ActionSheet implements ComponentInterface, OverlayInterface { )} {buttons.map((b) => ( -