Skip to content

Commit 9f46966

Browse files
Fixed family diagram padding
Fixed onButtonsRender defined in TemplateConfig
1 parent 9e7877f commit 9f46966

24 files changed

+29
-11
lines changed

apireference/configs.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,3 +236,14 @@ Template configuration object defines DOM elements for node content, cursor and
236236
| Name | Type | Default | Description |
237237
| --- | --- | --- | --- |
238238
| `hasButtons` | boolean | `Enabled.Auto` | Sets buttons panel visibility. `Auto` - depends on master config `hasButtons` property setting. `True` - visible `False` - hidden |
239+
240+
**Events**
241+
242+
`onButtonsRender(event, data)`
243+
244+
On buttons panel render event. This callback function is called to render context of buttons panel. It is used to replace `buttons` collection property in the control. So we preserve context buttons panel as a functional concept, but eliminate buttons customization API.
245+
246+
| Param | Type | Default | Description |
247+
| --- | --- | --- | --- |
248+
| `event` | Object | `` | Mouse event |
249+
| `data` | EventArgs | `` | Context information |

apireference/orgdiagram.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ Button click event. See `buttons` property.
166166

167167
`onButtonsRender(event, data)`
168168

169-
On buttons panel render event. This callback function is called to render context of buttons panel. It is used to replace `buttons` collection property in ReactJS component. So we preserve context buttons panel as a functional concept, but eliminate buttons customization API.
169+
On buttons panel render event. This callback function is called to render context of buttons panel. It is used to replace `buttons` collection property in the control. So we preserve context buttons panel as a functional concept, but eliminate buttons customization API.
170170

171171
| Param | Type | Default | Description |
172172
| --- | --- | --- | --- |

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#### Version 6.3.1
2+
* Fixed family diagram padding
3+
* Fixed `onButtonsRender` in `TemplateConfig`
14
#### Version 6.3.0
25
**Warning**: Non-backward compatible API changes!
36
* Added `matrixId` and `addToMatrix` properties to `FamItemConfig`.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "basicprimitives",
33
"sideEffects": false,
44
"homepage": "https://www.basicprimitives.com/",
5-
"version": "6.3.0",
5+
"version": "6.3.1",
66
"author": "Basic Primitives Inc. <support@basicprimitives.com> (https://www.basicprimitives.com)",
77
"description": "Basic Primitives Diagrams for JavaScript - data visualization components library that implements organizational chart and multi-parent dependency diagrams, contains implementations of JavaScript Controls and PDF rendering plugins.",
88
"repository": {
168 Bytes
Loading
173 Bytes
Loading
-37 Bytes
Loading
8 Bytes
Loading
43 Bytes
Loading
18 Bytes
Loading

0 commit comments

Comments
 (0)