forked from kscience/visionforge
pre-change of README.md
This commit is contained in:
parent
5f07bf1920
commit
51b8ae279a
@ -2,18 +2,20 @@
|
|||||||
|
|
||||||
Inheritance is an ability of an element to transfer a pack of properties to its `children` elements 'wrapped inside'.
|
Inheritance is an ability of an element to transfer a pack of properties to its `children` elements 'wrapped inside'.
|
||||||
|
|
||||||
|
`VisionBase`
|
||||||
Properties have to be set in a specific order:
|
Properties have to be set in a specific order:
|
||||||
### Main properties' inheritance:
|
### Main properties' inheritance:
|
||||||
* styles
|
* styles - `StyleSheet`
|
||||||
* parents
|
* parents
|
||||||
* parent's styles
|
* parent's styles
|
||||||
* defaults
|
* defaults
|
||||||
|
|
||||||
|
|
||||||
|
`SolidReference`
|
||||||
As for `prototypes`, this property has to be set after styles, but before parents. So the order will be this:
|
As for `prototypes`, this property has to be set after styles, but before parents. So the order will be this:
|
||||||
### Reference properties' inheritance:
|
### Reference properties' inheritance:
|
||||||
* styles
|
* styles
|
||||||
* prototypes
|
* prototypes - `PrototypeHolder` in `SolidGroup`
|
||||||
* parents
|
* parents
|
||||||
* parent's styles
|
* parent's styles
|
||||||
* defaults
|
* defaults
|
||||||
|
Loading…
Reference in New Issue
Block a user