add '...@append' method to block properties

This commit is contained in:
MihailRis
2024-12-29 08:56:47 +03:00
parent d57e46297b
commit ebea9af380
4 changed files with 56 additions and 2 deletions
+8
View File
@@ -213,3 +213,11 @@ User properties must be declared in `pack:config/user-props.toml` file:
```
Example: [user properties of pack **base**](../../res/content/base/config/user-props.toml).
## Methods
Methods are used to manage the overwriting of properties when extending a block with other packs.
### `property_name@append`
Adds elements to the end of the list instead of completely overwriting it.
+8
View File
@@ -224,3 +224,11 @@
```
Пример: [пользовательские свойства пака **base**](../../res/content/base/config/user-props.toml).
## Методы
Методы используются для управлением перезаписью свойств при расширении блока другими паками.
### `имя_свойства@append`
Добавляет элементы в конец списка, вместо его полной перезаписи.