Skip to main content

@lithen/fns@4.2.2

latest

Functions to use with html and css to create simple and powerful UI elements. Its part of Lithen modules. It works alone but is created to use with Web Components.

This package works with Node.js, BrowsersIt is unknown whether this package works with Cloudflare Workers, Deno, Bun
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
This package works with Browsers
JSR Score
100%
Published
2 months ago (4.2.2)
class ElementRef

Class used to hold a reference to some element. You can access it through the el property, it is useful to hold elements references before its creation.

Type Parameters

T = unknown

Properties

abstract
el: T

Add Package

deno add jsr:@lithen/fns

Import symbol

import { ElementRef } from "@lithen/fns";

---- OR ----

Import directly with a jsr specifier

import { ElementRef } from "jsr:@lithen/fns";

Add Package

npx jsr add @lithen/fns

Import symbol

import { ElementRef } from "@lithen/fns";

Add Package

yarn dlx jsr add @lithen/fns

Import symbol

import { ElementRef } from "@lithen/fns";

Add Package

pnpm dlx jsr add @lithen/fns

Import symbol

import { ElementRef } from "@lithen/fns";

Add Package

bunx jsr add @lithen/fns

Import symbol

import { ElementRef } from "@lithen/fns";