Slide 11
Slide 11 text
BPMN and DMN Standalone Editors / Usage
11
const editor = DmnEditor.open({
container: document.getElementById("editor-container"),
initialContent: Promise.resolve(""),
readOnly: false,
resources: new Map([
[
"MyIncludedModel.dmn",
{
contentType: "text",
content: Promise.resolve("")
}
]
])
});
const editor = BpmnEditor.open({
container: document.getElementById("editor-container"),
initialContent: Promise.resolve(""),
readOnly: false,
resources: new Map([
[
"MyWorkDefinitions.wid",
{
contentType: "text",
content: Promise.resolve("")
}
]
])
});