1
0
Fork 0

chore(docs): Add Stack documentation

This commit is contained in:
Benjamin F 2023-05-07 08:37:03 -07:00 committed by Benjamin Fan
parent 09d1a17cf1
commit 96ced472e4
10 changed files with 182 additions and 0 deletions

View file

@ -0,0 +1,17 @@
---
title: Stack.home()
---
The `Stack.home()` method calculates the stack's bounding box, sets it,
and returns the original stack.
## Stack.home() signature
```js
Stack stack.home()
```
<Note>This method is chainable as it returns the Stack object</Note>
## Notes
The bounding box is calculated taking into consideration the `margin` setting.