rust-dominator icon indicating copy to clipboard operation
rust-dominator copied to clipboard

Zero-cost ultra-high-performance declarative DOM library using FRP signals for Rust!

Results 24 rust-dominator issues
Sort by recently updated
recently updated
newest added

While doing research for adding spring animations to a [seed](https://github.com/David-OConnor/seed)-based app, I discovered this project. I am totally blown away by the signal-based concept and all the advanced and highly...

@Pauan proposed the following: ``` .attrs!{ foo="bar", qux="corge" } ``` which would essentially be the same as ``` .attr("foo", "bar") .attr("qux", "corge") ``` This simple macro would actually go a...

Hi @Pauan, I've started adding some docs based on my experience of using dominator and also all the gold in the Discord that we get from asking you questions 😄...

I added docs to the macros, because I found them the most opaque and confusing. I hope you'll accept this PR because it would have saved me a lot of...

Just making the code compile ``` cargo check --all-targets ``` The const `HTML_NAMESPACE` is used in the same file, in the `tests` module. Not sure if you prefer defining the...

I want to evaluate these HTML macro systems and any others. @Pauan and others, let me know if you have thoughts on a good html macro system for rust to...

this was discussed on Discord and @Pauan suggested something like the following syntax: ``` static STYLE1: Lazy = Lazy::new(|| stylesheet!("div.bar", { .style(...) })); html!("div", { .shadow_root!(ShadowRootMode::Open, { .stylesheet(&*STYLE1) .children(&mut [...

This pull request makes quite a lot of `__internal_` things on `DomBuilder`, `StylesheetBuilder`, `ClassBuilder` visible from outside. Why do I want this? * Currently, the only way to use these...

I am still not sure if I use this library or mine. But I think it worth raising this issue. How do you think about these? 1. Statically checking if...

This is okay because HTMLElement, SVGElement, and MathMLElement all extend from Element.

breaking-change