Extract toggle visibility of a SystemTagsInfoView to its own view
The SystemTagsInfoViewToggleView is a basic view that renders a label
that, when clicked, toggles the visibility of an associated
SystemTagsInfoView.
In order to keep the view parent agnostic its attachment and detachment
to/from the MainfFileInfoView is done in the FilesPlugin.
Signed-off-by:
Daniel Calviño Sánchez <danxuliu@gmail.com>
Showing
- apps/systemtags/js/filesplugin.js 15 additions, 1 deletionapps/systemtags/js/filesplugin.js
- apps/systemtags/js/merged.json 2 additions, 1 deletionapps/systemtags/js/merged.json
- apps/systemtags/js/systemtagsinfoview.js 0 additions, 24 deletionsapps/systemtags/js/systemtagsinfoview.js
- apps/systemtags/js/systemtagsinfoviewtoggleview.js 103 additions, 0 deletionsapps/systemtags/js/systemtagsinfoviewtoggleview.js
- apps/systemtags/tests/js/systemtagsinfoviewtoggleviewSpec.js 93 additions, 0 deletionsapps/systemtags/tests/js/systemtagsinfoviewtoggleviewSpec.js
- tests/karma.config.js 1 addition, 0 deletionstests/karma.config.js
Loading
Please register or sign in to comment