Page
- class seamless.components.Page
Inherits from
Component.Methods
- __init__(self, title=None, html_props=None, head_props=None, body_props=None)
- Parameters:
title (string) – The page’s title
html_props (dict) – The props to insert inside the
htmltag
default:{ "lang": "en" }head_props (dict) – The props to insert inside the
headtag
default:{}body_props (dict) – The props to insert inside the
bodytag
default:{ "dir": "ltr" }
- head(self) Iterable[ChildType]
The children that will be inside the
headtag.- Return type:
- body(self) Iterable[ChildType]
The children that will be inside the
bodytag.- Return type: