Fellow Csla Developers and Javascript #1629
-
Hi All, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Right now WebAssembly doesn't support direct DOM interaction. This may happen in the future, but doesn't appear to be a high priority for the wasm team. Microsoft and Blazor can't do anything beyond what wasm supports, so unless the wasm spec someday includes direct DOM interaction that's not going to happen. mono-wasm does have interop with JavaScript, as I'm sure you've discovered. So you can have js call C# and C# call js. This is how the entire Blazor UI frame work is implemented. Also, you should be aware that there are tons of people (commercial products and OSS) building Blazor components. It may be that something you need already exists out there. Or not, in which case you'd have to figure out how to build it - or perhaps work with an existing OSS product or a component vendor you already work with to work with you to build it. |
Beta Was this translation helpful? Give feedback.
Right now WebAssembly doesn't support direct DOM interaction. This may happen in the future, but doesn't appear to be a high priority for the wasm team.
Microsoft and Blazor can't do anything beyond what wasm supports, so unless the wasm spec someday includes direct DOM interaction that's not going to happen.
mono-wasm does have interop with JavaScript, as I'm sure you've discovered. So you can have js call C# and C# call js. This is how the entire Blazor UI frame work is implemented.
Also, you should be aware that there are tons of people (commercial products and OSS) building Blazor components. It may be that something you need already exists out there. Or not, in which case you'd have …