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

Usage

import * as flare from "https://raw.githubusercontent.com/melhosseiny/flare/main/flare.js";

§Functions

define_component
get_constructed_style_sheet

Constructs an adoptable stylesheet from a non-constructed one (e.g. from link el)

html

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

set_shared_style_sheets

Sets constructed shared_styles_sheets given non-constructed sheets. These are the stylesheets that are going to be adopted by all components defined by this instance.

state
web_component

Adds rendering logic to a functional web component