Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/gauntlet/imports/happy_dom.ts>Text#deleteData

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

Removes the specified amount of characters, starting at the specified offset, from the CharacterData.data string; when this method returns, data contains the shortened DOMString.

Parameters

offset: number

Offset.

count: number

Count.