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

x/gauntlet/imports/happy_dom.ts>IHTMLTextAreaElement

Work-in-progress front-end tool which does put a smile on my face
Latest
interface IHTMLTextAreaElement
implements IHTMLElement
Re-export
import { type IHTMLTextAreaElement } from "https://deno.land/x/gauntlet@v0.0.9/imports/happy_dom.ts";

Properties

readonly
type: string
defaultValue: string
minLength: number
maxLength: number
name: string
placeholder: string
inputmode: string
cols: string
rows: string
autocomplete: string
readOnly: boolean
disabled: boolean
autofocus: boolean
required: boolean
value: string
selectionStart: number
selectionEnd: number
selectionDirection: string
textLength: number

Methods

setSelectionRange(
start: number,
end: number,
direction: string,
): void

Set selection range.

setRangeText(
replacement: string,
start: number,
end: number,
selectionMode: HTMLInputElementSelectionModeEnum,
): void

Set range text.

checkValidity(): boolean

Checks validity.

cloneNode(deep: boolean): IHTMLTextAreaElement

Clones a node.