-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a generic
from_web_sys
function (#432)
* Add a generic from_web_sys function Adds a new function that creates a `GenericNode` from a `web_sys::Element` and depending on the type will reuse the element in the DOM. * Fix suggestions * Fix panic case and imports
- Loading branch information
mc1098
authored
Jun 11, 2022
1 parent
215a015
commit 53ec292
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters