PromucFlow_constructor/app/client/src/constants/componentClassNameConstants.ts
rahulramesha e128b2daf3
feat: new Widget Copy paste experience (#12906)
* copy paste commit

* class name generator changes

* modal widget fixes change

* addressing review comments

* bug fix for after deleting a widget by undoing action

* additional fix for modal widget

* additional tests for fixes
2022-05-04 13:28:57 +05:30

14 lines
343 B
TypeScript

export function getStickyCanvasName(widgetId: string) {
return `div-selection-${widgetId}`;
}
export function getSlidingCanvasName(widgetId: string) {
return `canvas-selection-${widgetId}`;
}
export function getBaseWidgetClassName(id?: string) {
return `appsmith_widget_${id}`;
}
export const POSITIONED_WIDGET = "positioned-widget";