Get stylite gantt extra bits running

This commit is contained in:
nathan 2021-07-09 11:56:06 -06:00
parent da1e7b9fee
commit e474333bc8

View File

@ -116,6 +116,9 @@ export function et2_createWidget(_name : string, _attrs : object, _parent? : any
return new constructor(_parent, _attrs);
}
// make et2_createWidget publicly available as we need to call it from stylite/js/gantt.js (maybe others)
if (typeof window.et2_createWidget === 'undefined') window['et2_createWidget'] = et2_createWidget;
export interface WidgetConfig {
type?: string;
readonly?: boolean;