forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
model_dump: Implement "Hider" properly (pytorch#57654)
Summary: Pull Request resolved: pytorch#57654 I learned how to use children in React/Preact. :) Now it's not necessary to give every hidable section its own id and synchonize the "shown=false" with "style='display:none;'". This also means that the hidden elements aren't rendered to the DOM unless the hider is open. Test Plan: Clicked around in Chrome. Reviewed By: malfet Differential Revision: D28531393 Pulled By: dreiss fbshipit-source-id: bc86c823ae4b7e80c000f50c5429d89dff6ae64d
- Loading branch information
1 parent
3f0b081
commit 3ff76af
Showing
1 changed file
with
25 additions
and
35 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