Skip to content

Commit cf43bcb

Browse files
committed
readme.md.
1 parent 6c7b4f1 commit cf43bcb

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,10 @@ const configuration = {
136136
}
137137
};
138138

139-
Designer.create(placeholder, definition, configuration);
139+
const designer = Designer.create(placeholder, definition, configuration);
140+
designer.onDefinitionChanged.subscribe((newDefinition) => {
141+
// ...
142+
});
140143
```
141144

142145
## 💡 License

css/designer.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
position: relative;
8888
display: block;
8989
padding: 10px 10px 10px 30px;
90+
white-space: nowrap;
9091
}
9192

9293
.sqd-drag {

0 commit comments

Comments
 (0)