├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md ├── examples ├── customized_builtin │ ├── Cargo.lock │ ├── Cargo.toml │ ├── build.sh │ ├── index.html │ ├── runserver │ └── src │ │ └── lib.rs ├── vanilla │ ├── Cargo.lock │ ├── Cargo.toml │ ├── build.sh │ ├── index.html │ ├── runserver │ └── src │ │ └── lib.rs └── yew │ ├── Cargo.lock │ ├── Cargo.toml │ ├── build.sh │ ├── component_style.css │ ├── index.html │ ├── runserver │ └── src │ ├── component.rs │ └── lib.rs └── src ├── lib.rs └── make_custom_element.js /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbj/custom-elements/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbj/custom-elements/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbj/custom-elements/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbj/custom-elements/HEAD/README.md -------------------------------------------------------------------------------- /examples/customized_builtin/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbj/custom-elements/HEAD/examples/customized_builtin/Cargo.lock -------------------------------------------------------------------------------- /examples/customized_builtin/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbj/custom-elements/HEAD/examples/customized_builtin/Cargo.toml -------------------------------------------------------------------------------- /examples/customized_builtin/build.sh: -------------------------------------------------------------------------------- 1 | wasm-pack build --target web -------------------------------------------------------------------------------- /examples/customized_builtin/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbj/custom-elements/HEAD/examples/customized_builtin/index.html -------------------------------------------------------------------------------- /examples/customized_builtin/runserver: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbj/custom-elements/HEAD/examples/customized_builtin/runserver -------------------------------------------------------------------------------- /examples/customized_builtin/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbj/custom-elements/HEAD/examples/customized_builtin/src/lib.rs -------------------------------------------------------------------------------- /examples/vanilla/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbj/custom-elements/HEAD/examples/vanilla/Cargo.lock -------------------------------------------------------------------------------- /examples/vanilla/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbj/custom-elements/HEAD/examples/vanilla/Cargo.toml -------------------------------------------------------------------------------- /examples/vanilla/build.sh: -------------------------------------------------------------------------------- 1 | wasm-pack build --target web -------------------------------------------------------------------------------- /examples/vanilla/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbj/custom-elements/HEAD/examples/vanilla/index.html -------------------------------------------------------------------------------- /examples/vanilla/runserver: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbj/custom-elements/HEAD/examples/vanilla/runserver -------------------------------------------------------------------------------- /examples/vanilla/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbj/custom-elements/HEAD/examples/vanilla/src/lib.rs -------------------------------------------------------------------------------- /examples/yew/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbj/custom-elements/HEAD/examples/yew/Cargo.lock -------------------------------------------------------------------------------- /examples/yew/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbj/custom-elements/HEAD/examples/yew/Cargo.toml -------------------------------------------------------------------------------- /examples/yew/build.sh: -------------------------------------------------------------------------------- 1 | wasm-pack build --target web -------------------------------------------------------------------------------- /examples/yew/component_style.css: -------------------------------------------------------------------------------- 1 | p { 2 | color: green; 3 | } -------------------------------------------------------------------------------- /examples/yew/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbj/custom-elements/HEAD/examples/yew/index.html -------------------------------------------------------------------------------- /examples/yew/runserver: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbj/custom-elements/HEAD/examples/yew/runserver -------------------------------------------------------------------------------- /examples/yew/src/component.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbj/custom-elements/HEAD/examples/yew/src/component.rs -------------------------------------------------------------------------------- /examples/yew/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbj/custom-elements/HEAD/examples/yew/src/lib.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbj/custom-elements/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/make_custom_element.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gbj/custom-elements/HEAD/src/make_custom_element.js --------------------------------------------------------------------------------