Class FlowLayout
Implements flow layout behavior.
Inside a flow layout, items float from left to right.
Constructor
-
class FlowLayout()
Bases: Layout()
Methods
count
-
FlowLayout#count()
Throws RainError: |
| : if start wasn’t executed when the method was called |
Returns Number: | the number of items |
Gets the number of existing items.
remove
-
FlowLayout#remove(options)
Arguments: |
- options (Object) – configuration to identify the item block to be removed
- options.index (Number) – the index to remove
|
Throws RainError: |
| : if start wasn’t executed when the method was called
|
Removes an item from the layout.