Closed jameswragg closed 9 years ago
Consider this markup:
<div class="field"> <label for="keywords">Keywords</label> <input id="keywords" name="keywords" type="text"> <p>Pro tip: blah blah blah</p> </div>
Currently the protip would be left in limbo if hidden, it would be great to tell dependsOn to target the parent container of the target on show/hide operations.
You could use the 'onEnable' and 'onDisable' callbacks to toggle the visibility of subject's parent container.
I'll take that! Cheers.
Consider this markup:
Currently the protip would be left in limbo if hidden, it would be great to tell dependsOn to target the parent container of the target on show/hide operations.