Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ogone/src/ogone.main.d.ts>HTMLOgoneText

Advanced Web Composition for Future
Latest
interface HTMLOgoneText
implements Text
import { type HTMLOgoneText } from "https://deno.land/x/ogone@revb3/src/ogone.main.d.ts";

Properties

code: string

the code to evaluate and set the text content

getContext: HTMLOgoneElement["getContext"]

get the context for the textnode

position: HTMLOgoneElement["position"]

the position of the textnode into the DOM

optional
dependencies: string[]

dependencies of the textnode prevent for useless evaluations/reactions