Implement Pattern
This commit is contained in:
parent
c0a7a26874
commit
f6e4238b3d
4 changed files with 290 additions and 77 deletions
|
@ -67,6 +67,8 @@ export interface IAvailableContainer {
|
|||
|
||||
/**
|
||||
* (optional)
|
||||
* Disabled when Pattern is used.
|
||||
*
|
||||
* Replace a <rect> by a customized "SVG". It is not really an svg but it at least allows
|
||||
* to draw some patterns that can be bind to the properties of the container
|
||||
* Use {prop} to bind a property. Use {{ styleProp }} to use an object.
|
||||
|
@ -81,6 +83,13 @@ export interface IAvailableContainer {
|
|||
*/
|
||||
DefaultChildType?: string
|
||||
|
||||
/**
|
||||
* Allow to use a Pattern to create the list of children
|
||||
* Cannot be used with DefaultChildType,
|
||||
* DefaultChildType will be disabled for this container and the children
|
||||
*/
|
||||
Pattern?: string
|
||||
|
||||
/** if true, show the dimension of the container */
|
||||
ShowSelfDimensions?: boolean
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue