Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.08 KB

app.rst

File metadata and controls

45 lines (33 loc) · 1.08 KB

App

The App class defines the structure of the application. It contains a root view, what you get when you go to /. It subscribes functions to component events and builds the application.

bowtie.App

View

Views are responsible for laying components out on a webpage. Each view defines a grid and optional sidebar. Each app comes with one root view and you can add as many additional routes and view as you want.

bowtie.View

Size

Each row and column in the app is a Size object. The space used by each row and column can be changed through the following methods.

bowtie._app.Size

Gap

Set the margin between the cells of the grid in the App.

bowtie._app.Gap