Bump Blitz to 0.1.0-rc.3 (+dangerous_inner_html + style ns attrs) (#4538)
* Bump Blitz to 0.1.0-rc.3 Signed-off-by: Nico Burns <nico@nicoburns.com> * native: implement dangerous_inner_html * native: implement style namespace attributes * Fix clippy lints --------- Signed-off-by: Nico Burns <nico@nicoburns.com>
This commit is contained in:
1 parent
79e4d17454
commit
593945ecce
6 files changed
+210
-101
No files matched your search
@@ -77,6 +77,27 @@ fn app() -> Element {
|
||||
class: "my special div",
|
||||
h1 {"Headers and attributes!"}
|
||||
}
|
||||
div {
|
||||
h1 {"Style attributes!"}
|
||||
p {
|
||||
"hello"
|
||||
b {
|
||||
"world"
|
||||
}
|
||||
i {
|
||||
"foo"
|
||||
}
|
||||
span {
|
||||
style: "color: red;font-style:italic",
|
||||
"red"
|
||||
}
|
||||
span {
|
||||
color: "blue",
|
||||
font_weight: "bold",
|
||||
"attr_blue"
|
||||
}
|
||||
}
|
||||
}
|
||||
div {
|
||||
// pass simple rust expressions in
|
||||
class: "{lazy_fmt}",
|
||||
|
||||
Reference in new issue
Block a user