TOGGLE() var modal = Modal.new(); modal.toggle(); modal.visible() == false; modal.toggle() modal.visible() == true; Toggles the modal between the show and hide states.