Skip to main content

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


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

materialize_ui-0.1.19-py2.py3-none-any.whl (12.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file materialize_ui-0.1.19-py2.py3-none-any.whl.

File metadata

  • Download URL: materialize_ui-0.1.19-py2.py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for materialize_ui-0.1.19-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e777859d7d0c4865262f9ba1a607e66ae5d194e81d89a49f10b02622eedee0e7
MD5 95699a26e7136e8692d48fc659e4405c
BLAKE2b-256 8377a5d184fbb1050422c7eca3fec27e1a36371243830ed0e532f10923b1fa4a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page