onOpen method

  1. @override
void onOpen()
override

Called when the popup is opened.

Implementation

@override
void onOpen() {
  if (_id == null) return;
  _previousDescribedbyId = _element.getAttribute('aria-describedby');
  _element.setAttribute('aria-describedby', _id!);
}