NDEFReader.onreading

Draft

This page is not complete.

Secure context

This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

Experimental

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The onreading property of NDEFReader interface of the Web NFC API is called whenever a new reading is available from compatible NFC devices, e.g. NFC tags supporting NDEF, when these devices are within the reader's magnetic induction field.

Specifications

Specification
Web NFC API
# dom-ndefreader-onreading

Browser compatibility

BCD tables only load in the browser

See also