Skip to content

Added documentation for some layout properties #161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions docs/api/layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,31 @@ Alias for `Grid.portrait?`.
## `landscape?`

Alias for `Grid.landscape?`.

## `row_count`

Gives the number of rows in the Layout grid.
In landscape mode the value is set to `12`
In portrait mode the value is set to `24`

!> This property is read-only.

## `row_max_index`

Returns the maximum row count index.

!> This property is read-only

## `col_count`

Gives the number of columns in the Layout grid.
In landscape mode the value is set to `24`
In portrait mode the value is set to `12`

!> This property is read-only

## `col_max_index`

Returns the maximum column count index.

!> This property is read-only