Skip to main content
Home

@mizu/mizu@0.9.4
Built and signed on GitHub Actions

🐕‍🦺 *mizu directive 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
76%
Published
2 days ago (0.9.4)

*mizu

Version Phase
1 — ELIGIBILITY

Enable mizu.js rendering for the element and its children.

<main *mizu>
  <!--...-->
</main>

Notes

Caution

For performance reasons, this directive must not have any [tag] or .modifiers. If it does, the directive will be ignored.

Note

You can choose whether to require this directive for mizu.js rendering with the implicit option when using the user API. By default, rendering is explicit in Client-Side APIs and implicit in Server-Side APIs.

Variables

$root: HTMLElement

The closest element that declares a *mizu directive.

Built and signed on
GitHub Actions

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@mizu/mizu

Import symbol

import * as mizu from "@mizu/mizu";
or

Import directly with a jsr specifier

import * as mizu from "jsr:@mizu/mizu";

Add Package

pnpm i jsr:@mizu/mizu
or (using pnpm 10.8 or older)
pnpm dlx jsr add @mizu/mizu

Import symbol

import * as mizu from "@mizu/mizu";

Add Package

yarn add jsr:@mizu/mizu
or (using Yarn 4.8 or older)
yarn dlx jsr add @mizu/mizu

Import symbol

import * as mizu from "@mizu/mizu";

Add Package

vlt install jsr:@mizu/mizu

Import symbol

import * as mizu from "@mizu/mizu";

Add Package

npx jsr add @mizu/mizu

Import symbol

import * as mizu from "@mizu/mizu";

Add Package

bunx jsr add @mizu/mizu

Import symbol

import * as mizu from "@mizu/mizu";