Allowing control over domWidgets margin (#3085)

This commit is contained in:
MohammadAboulEla
2025-03-17 01:16:11 +02:00
committed by GitHub
parent e8bcccc276
commit c6046e47d2
2 changed files with 6 additions and 4 deletions

View File

@@ -63,6 +63,7 @@ export interface DOMWidgetOptions<V extends object | string>
getMaxHeight?: () => number
getHeight?: () => string | number
onDraw?: (widget: BaseDOMWidget<V>) => void
margin?: number
/**
* @deprecated Use `afterResize` instead. This callback is a legacy API
* that fires before resize happens, but it is no longer supported. Now it