react_gleam/attribute

Types

pub opaque type Attribute(action)

Functions

pub fn attribute(name: String, value: String) -> Attribute(a)
pub fn event(name: String, handler: fn(Dynamic, fn(a) -> Nil) ->
    Nil) -> Attribute(a)
pub fn property(name: String, value: Dynamic) -> Attribute(a)
Search Document