View Source Phoenix.WebComponent (Phoenix.WebComponent v1.6.3)

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

Functions

Returns a list of attributes that make an element behave like a link. For example, to make a button work like a link

Link to this section Functions