Function sauron_core::html::attributes::disabled
source · [−]Expand description
set whether an element is disabled or not
Examples
use sauron::prelude::*;
let html: Node<()> =
input(vec![r#type("checkbox"), disabled(true)], vec![]);