Browse documentation

setAttribute

Applies one property value to the DOM represented by a vnode.

Table of contents

Category

Value

Import

js
import { setAttribute } from "valyrian.js";

Public signature

ts
(name: string, value: any, newVnode: VnodeWithDom): void

Parameters

ts
name: string, value: any, newVnode: VnodeWithDom

Result

ts
void