import { OjDrawerPopupBase } from './OjDrawerPopupBase';

/**
 * The component WebElement for [oj-drawer-popup](../../jsdocs/oj.ojDrawerPopup.html).
 * Do not instantiate this class directly, instead, use
 * [ojDrawerPopup](../functions/elements.ojDrawerPopup-1.html).
 */
export class OjDrawerPopup extends OjDrawerPopupBase {
  /**
   * Dismiss the drawer
   */
  async doClose(): Promise<void> {
    return this.setProperty<boolean>('opened', false);
  }
}
