toggle method

  1. @HostListener('click')
  2. @override
void toggle()
override

Toggle the drawer's visibility.

Implementation

@HostListener('click')
@override
void toggle() {
  if (visible && !canClose) return;
  super.toggle();
}