Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

html

import { html } from "https://raw.githubusercontent.com/melhosseiny/flare/main/flare.js";

Template tag that returns the interpolated string as a DOMFragment and a dependency -> array of elements Map.

Dependencies have to be explicitly defined in the template by adding a 'ref' attribute to the element, and an element can have multiple dependencies (e.g., ref="a" or ref="a b").

Dependencies can be nested, as long as they are different.

function html(strings, ...values);
§
html(strings, ...values)
[src]

§Parameters

§
strings
[src]

array of string values in the template

§
...values optional
[src]

template expressions