diff --git a/packages/pluggableWidgets/bottom-sheet-native/src/BottomSheet.editorConfig.ts b/packages/pluggableWidgets/bottom-sheet-native/src/BottomSheet.editorConfig.ts index 73253efb0..70319ce39 100644 --- a/packages/pluggableWidgets/bottom-sheet-native/src/BottomSheet.editorConfig.ts +++ b/packages/pluggableWidgets/bottom-sheet-native/src/BottomSheet.editorConfig.ts @@ -89,6 +89,7 @@ export const getProperties = (values: any, defaultProperties: Properties): Prope "nativeImplementation", "itemsBasic", "triggerAttribute", + "triggerAttributeChange", "modalRendering" ]); if (!values.showFullscreenContent) { diff --git a/packages/pluggableWidgets/bottom-sheet-native/src/BottomSheet.xml b/packages/pluggableWidgets/bottom-sheet-native/src/BottomSheet.xml index 033fc3c84..89a2f2e99 100644 --- a/packages/pluggableWidgets/bottom-sheet-native/src/BottomSheet.xml +++ b/packages/pluggableWidgets/bottom-sheet-native/src/BottomSheet.xml @@ -15,7 +15,7 @@ Expanding - + Trigger attribute Defines if the modal bottom sheet is visible or not. Initially this value should be false. When set to true, the bottom sheet will be shown. When the bottom sheet is hidden, the trigger attribute value is set to false. @@ -86,6 +86,12 @@ + + + On change + Called on change of the 'Trigger attribute' + + diff --git a/packages/pluggableWidgets/bottom-sheet-native/typings/BottomSheetProps.d.ts b/packages/pluggableWidgets/bottom-sheet-native/typings/BottomSheetProps.d.ts index 238a85e9c..50dd0e887 100644 --- a/packages/pluggableWidgets/bottom-sheet-native/typings/BottomSheetProps.d.ts +++ b/packages/pluggableWidgets/bottom-sheet-native/typings/BottomSheetProps.d.ts @@ -60,4 +60,5 @@ export interface BottomSheetPreviewProps { fullscreenContent: { widgetCount: number; renderer: ComponentType<{ children: ReactNode; caption?: string }> }; onOpen: {} | null; onClose: {} | null; + triggerAttributeChange: {} | null; }