tomayac’s avatartomayac’s Twitter Archive—№ 20,176

  1. …in reply to @argyleink
    @argyleink If you really need to, you can watch the open attribute (developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog#attr-open) from afar with a MutationObserver that you set to watch for attribute changes: developer.mozilla.org/en-US/docs/Web/API/MutationObserver/observe#parameters.