Materailzie web components for enaml-web
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for materialize_ui-0.1.8-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75d023d37637e4e1dbc10e78ea606c43895419b0e91273bf22074fdfc5d547db |
|
MD5 | 123e6153b2ca69e71d53e9cb93a19d49 |
|
BLAKE2b-256 | 304a5e98ba479aa70edf5be2249fcc06f2a2e9694a2a9e1333e50ac6b3b936c0 |