Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_dom/deno-dom-wasm.ts>Element#toggleAttribute

Browser DOM & HTML parser in Deno
Extremely Popular
Latest
method Element.prototype.toggleAttribute
Re-export
import { Element } from "https://deno.land/x/deno_dom@v0.1.48/deno-dom-wasm.ts";

Parameters

rawName: string
optional
force: boolean

Returns

boolean