Skip to content

Commit 8e156eb

Browse files
committed
Add titleParametersDidChange clientbound event
1 parent f10073e commit 8e156eb

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

4-clientbound.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,37 @@ Fired when an action is deselected and its property inspector disappears.
247247
}
248248
```
249249

250+
### titleParametersDidChange
251+
252+
Fired when the user changes the title parameters of an action.
253+
254+
```ts
255+
{
256+
event: string = "titleParametersDidChange",
257+
action: string,
258+
context: string,
259+
device: string,
260+
payload: {
261+
settings: any,
262+
coordinates: {
263+
row: number,
264+
column: number
265+
},
266+
state: number,
267+
title: string,
268+
titleParameters: {
269+
fontFamily: string,
270+
fontSize: number,
271+
fontStyle: string,
272+
fontUnderline: boolean,
273+
showTitle: boolean,
274+
titleAlignment: string,
275+
titleColor: string
276+
}
277+
}
278+
}
279+
```
280+
250281
### didReceiveSettings
251282

252283
Fired in response to the `getSettings` event. Additionally fired to the plugin when the property inspector uses `setSettings`, and vice versa.

0 commit comments

Comments
 (0)