2021-09-09 15:10:22 +00:00
|
|
|
import IconSVG from "./icon.svg";
|
2022-01-21 10:19:10 +00:00
|
|
|
import Widget from "./widget";
|
2021-09-09 15:10:22 +00:00
|
|
|
|
|
|
|
|
export const CONFIG = {
|
|
|
|
|
type: Widget.getWidgetType(),
|
|
|
|
|
name: "Iframe",
|
|
|
|
|
iconSVG: IconSVG,
|
|
|
|
|
needsMeta: true,
|
2022-06-17 03:12:47 +00:00
|
|
|
searchTags: ["embed"],
|
2021-09-09 15:10:22 +00:00
|
|
|
defaults: {
|
2021-11-02 04:17:49 +00:00
|
|
|
source: "https://www.example.com",
|
2021-09-09 15:10:22 +00:00
|
|
|
borderOpacity: 100,
|
|
|
|
|
borderWidth: 1,
|
2022-01-21 10:19:10 +00:00
|
|
|
rows: 32,
|
|
|
|
|
columns: 24,
|
2021-09-09 15:10:22 +00:00
|
|
|
widgetName: "Iframe",
|
|
|
|
|
version: 1,
|
2021-12-14 07:55:58 +00:00
|
|
|
animateLoading: true,
|
2021-09-09 15:10:22 +00:00
|
|
|
},
|
|
|
|
|
properties: {
|
|
|
|
|
derived: Widget.getDerivedPropertiesMap(),
|
|
|
|
|
default: Widget.getDefaultPropertiesMap(),
|
|
|
|
|
meta: Widget.getMetaPropertiesMap(),
|
|
|
|
|
config: Widget.getPropertyPaneConfig(),
|
2022-08-09 13:05:15 +00:00
|
|
|
contentConfig: Widget.getPropertyPaneContentConfig(),
|
|
|
|
|
styleConfig: Widget.getPropertyPaneStyleConfig(),
|
2021-09-09 15:10:22 +00:00
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default Widget;
|