View Source Phoenix.WebComponent (Phoenix.WebComponent v2.3.1)
Provides a suit of html custom component for phoenix.
This library provides three main functionalities:
- Enhance form helper with manterial web componet
- Enhance link helper with manterial web componet
- Markdown render helper with
@gsmlg/lit/remark-element
- TopAppBar render top app bar with custom element.
form-helper
Form helper
See Phoenix.WebComponent.FormHelper
.
javascript-library
JavaScript library
This project provides javascript that define custom elements.
To use the web component, you must load priv/static/phoenix_webcomponent.js
into your build tool. Or through npm by install phoenix_webcomponent
.
The difference is npm version is not bundled.
Link to this section Summary
Link to this section Functions
Import helpers for internal usage.
Support:
use Phoenix.WebComponent, :component
use Phoenix.WebComponent, :live_component