girder / girder_web_components

Reusable Javascript and VueJS components for interacting with a Girder server.
https://gwc.girder.org
Apache License 2.0
16 stars 9 forks source link

Make name of all Boolean props negate its default value #123

Closed matthewma7 closed 5 years ago

matthewma7 commented 5 years ago

For example, if the DataBrowser default to allow creating a new folder. The name of the prop to control this behavior should be no-new-folder. In this case, it is clear that DataBrowser has enabled new folder true by default and mentioning the prop without value <data-browser no-new-folder /> would be enough to change the behavior.

matthewma7 commented 5 years ago

Resolved by https://github.com/girder/girder_web_components/pull/133