FaText
🟡 Needs container
🟡 Doesn't accept child/children
API
pub fn fa_text(&mut self, id: &str, classes: &str, value: &str) -> Entity {
// ..
}
Usage via builder
let text = builder.fa_text(..);
Return Entity
of the widget which must be used inside FaContainer
widget.
Example
let boss = builder.fa_text("#boss", "", "Hello Boss");
let mom = builder.fa_text("#mom", "", "Hello Mom");
builder.fa_container("#container", "", &vec![boss, mom]);