Function sauron_core::html::attributes::checked
source · [−]Expand description
set the checked value, used checkbox and radio buttons
Examples
use sauron::prelude::*;
let html: Node<()> =
input(vec![r#type("checkbox"), checked(true)], vec![]);