Re: [web-nfc] NFCReadingEvent has an attribute with a type of dictionary? (#232)

Just for completeness, here is an alternative solution adapted from @reillyeon's suggestion.
```javascript
[Constructor(optional NFCReaderOptions options), SecureContext, Exposed=Window]
interface NFCReader : EventTarget {
  attribute EventHandler onerror;
  Promise<NDEFMessage> read();  // or ndef()
};
```

-- 
GitHub Notification of comment by zolkis
Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/232#issuecomment-506287648 using your GitHub account

Received on Thursday, 27 June 2019 10:20:52 UTC