onOpen method

  1. @override
void onOpen()
override

Called when the popup is opened.

Implementation

@override
void onOpen() {
  if (_id == null || !_initAriaAttributes) return;
  sourceElement.setAttribute('aria-owns', _id!);
}