docs: warn about using id instead of this/parent in prop inheritance
This commit is contained in:
parent
3b5411ea42
commit
f5ec2ed067
1 changed files with 3 additions and 0 deletions
|
|
@ -6,6 +6,9 @@ Widgets can use each other's property values by using the following syntaxes:
|
|||
- `@{parent.propertyName}`
|
||||
- `@{widgetId.propertyName}` (where `widgetId` is the target widget's `id`)
|
||||
|
||||
!!! note
|
||||
Don't use `widgetId` when targetting `this` or `parent`, it won't work.
|
||||
|
||||
`propertyName` can be any of the target widget's properties.
|
||||
|
||||
It can be used to:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue