- From: François Beaufort via GitHub <sysbot+gh@w3.org>
- Date: Tue, 24 Dec 2019 10:17:45 +0000
- To: public-web-nfc@w3.org
Argh! I'm torn ;)
On one hand, like you're saying, the cost of having it is quite small.
On the other hand, I feel like web developers would know how to do deal with this quite easily.
Even in your dialog case, it seems OK:
```js
const dialog = document.querySelector('dialog');
const observer = new MutationObserver(mutations => {
myNdefReader.onreading = (mutations[0].target.open) ? null : onReading;
});
observer.observe(dialog, { attributeFilter: [ 'open' ] });
--
GitHub Notification of comment by beaufortfrancois
Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/424#issuecomment-568715808 using your GitHub account
Received on Tuesday, 24 December 2019 10:17:47 UTC