Materialize
Materialize web components for enaml web.
Installing
Install with pip
pip install materialize-ui
Usage
Simply have your page/templates extend the base MaterializePage as follows.
from web.components.api import *
from web.core.api import Block
from materialize.page import MaterializePage
enamldef Page(MaterializePage):
stylesheets = [
'/static/custom.css',
]
scripts = [
'/static/custom.js'
]
Block:
block = parent.header
H2:
text = "Page header"
Block:
block = parent.content
P:
text = "Content..."
Block:
block = parent.footer
Div:
text = "Page footer"
See enaml-web for more info.
Release files for materialize-ui 0.1.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| materialize_ui-0.1.19-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Release files / materialize_ui-0.1.19-py2.py3-none-any.whl
| Download URL | materialize_ui-0.1.19-py2.py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e777859d7d0c4865262f9ba1a607e66ae5d194e81d89a49f10b02622eedee0e7
|
|
BLAKE2b-256 checksum How to use checksums |
8377a5d184fbb1050422c7eca3fec27e1a36371243830ed0e532f10923b1fa4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.29.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/6.6.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.11.3
|