NDEFReadingEventInit

@JSType

NDEFReadingEventInit is used to initialize a new event with a serial number and the NDEFMessageInit data via the message member. If serialNumber is not present or is null, empty string will be used to init the event.

See also:
trait EventInit
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object

Abstract fields

@ExposedJSMember

An object that, in addition of the properties defined in Event(), can have the following properties: serialNumber; message

An object that, in addition of the properties defined in Event(), can have the following properties: serialNumber; message

Concrete fields

@ExposedJSMember @JSOptional
var serialNumber: UndefOr[String]

A string with the name of the event. It is case-sensitive and browsers always set it to reading. Default is "" an empty string

A string with the name of the event. It is case-sensitive and browsers always set it to reading. Default is "" an empty string

Inherited fields

@ExposedJSMember @JSOptional
var bubbles: UndefOr[Boolean]
Inherited from:
EventInit
@ExposedJSMember @JSOptional
var cancelable: UndefOr[Boolean]
Inherited from:
EventInit
@ExposedJSMember @JSOptional
var composed: UndefOr[Boolean]
Inherited from:
EventInit
@ExposedJSMember @JSOptional
var scoped: UndefOr[Boolean]
Inherited from:
EventInit