fix(docs): (stacks) Updates from doc review
This commit is contained in:
parent
c29b2c57da
commit
a1106226fe
6 changed files with 44 additions and 16 deletions
|
@ -2,7 +2,8 @@
|
|||
title: Stack.home()
|
||||
---
|
||||
|
||||
The `Stack.home()` method calculates the stack's bounding box, sets it,
|
||||
The `Stack.home()` method calculates the stack's bounding box,
|
||||
setting the `width`, `height`, `topLeft`, and `bottomRight` properties,
|
||||
and returns the original stack.
|
||||
|
||||
## Stack.home() signature
|
||||
|
@ -15,3 +16,7 @@ Stack stack.home()
|
|||
## Notes
|
||||
|
||||
The bounding box is calculated taking into consideration the `margin` setting.
|
||||
|
||||
`Stack.home()` caches its calculations by checking whether the stack's
|
||||
`topLeft` property has been set.
|
||||
If `topLeft` has a truthy value, it will not re-calculate.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue