Skip to main content

Built and signed on GitHub Actions

🦮 Internal components for mizu.js

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
a week ago (0.7.1)
enum Phase

Enum representing all possible value that a Directive.phase can have.

For more information, see the mizu.sh documentation.

Members

ATTRIBUTE = 51

Directives that set attributes.

ATTRIBUTE_CLEANING = 59

Directives that clean attributes.

ATTRIBUTE_MODEL_VALUE = 52

Directives that model value attributes.

CONTENT = 41

Directives that set content.

CONTENT_CLEANING = 49

Directives that clean content.

CONTENT_INTERPOLATION = 42

Directives that interpolate content.

CONTEXT = 11

Directives that alter the rendering context.

CUSTOM_ELEMENT = 81

Directives that register custom elements.

CUSTOM_PROCESSING = 89

Directives that apply custom processing logic.

DISPLAY = 71

Directives that affect display.

ELIGIBILITY = 1

Directives that determine the rendering eligibility of an element.

EXPAND = 21

Directives that expand elements.

HTTP_BODY = 32

HTTP directives that set the body.

HTTP_CONTENT = 34

HTTP directives that set content.

HTTP_HEADER = 31

HTTP directives that set headers.

HTTP_INTERACTIVITY = 35

HTTP directives that add interactivity.

HTTP_REQUEST = 33

HTTP directives that perform requests.

INTERACTIVITY = 61

Directives that enhance element interactivity.

META = 0

Directives that contain only metadata.

MORPHING = 22

Directives that morph elements.

POSTPROCESSING = 99

Directives that must be executed last as they influence the rendering process.

PREPROCESSING = 2

Directives that must be executed first as they influence the rendering process.

REFERENCE = 82

Directives that register references.

TESTING = 10

Directives that are intended for testing purposes only.

TOGGLE = 23

Directives that toggle elements.

UNKNOWN

Placeholder value (intended for internal use only).

Add Package

deno add jsr:@mizu/internal

Import symbol

import { Phase } from "@mizu/internal/engine";

---- OR ----

Import directly with a jsr specifier

import { Phase } from "jsr:@mizu/internal/engine";

Add Package

npx jsr add @mizu/internal

Import symbol

import { Phase } from "@mizu/internal/engine";

Add Package

yarn dlx jsr add @mizu/internal

Import symbol

import { Phase } from "@mizu/internal/engine";

Add Package

pnpm dlx jsr add @mizu/internal

Import symbol

import { Phase } from "@mizu/internal/engine";

Add Package

bunx jsr add @mizu/internal

Import symbol

import { Phase } from "@mizu/internal/engine";