View Source PhoenixDuskmoon (PhoenixDuskmoon v4.4.4)

Provides a suit of html custom component for phoenix.

This library add a list of phoneix component.

Form helper

See PhoenixDuskmoon.FormHelper.

JavaScript library

This project provides javascript that define custom elements.

To use the web component, you must load priv/static/phoenix_duskmoon.js into your build tool. Or through npm by install phoenix_duskmoon.

Using js library in hex package:

We need to run npm install in hex package

npm install --prefix <path to root>/deps/phoenix/duskmoon

Summary

Functions

Import helpers for internal usage.

Functions

Link to this macro

__using__(which)

View Source (macro)

Import helpers for internal usage.

Support:

  • use PhoenixDuskmoon

Internal use Only

  • use PhoenixDuskmoon, :component
  • use PhoenixDuskmoon, :live_component