View Source PhoenixDuskmoon (PhoenixDuskmoon v5.2.0-beta.3)

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

__using__(which) deprecated

Import helpers for internal usage.

Functions

__using__(which)

(macro)
This macro is deprecated. Use `use PhoenixDuskmoon.Component` instead.

Import helpers for internal usage.

Support:

  • use PhoenixDuskmoon

Internal use Only

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

components()

html()

live_component()