Skip to content

Commit

Permalink
api-reports
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioPinheiro committed Aug 12, 2023
1 parent 8569986 commit c3d4f22
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
21 changes: 21 additions & 0 deletions api-reports/2_12.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16426,6 +16426,27 @@ MutationRecord[JT] def previousSibling: Node
MutationRecord[JT] def removedNodes: NodeList[Node]
MutationRecord[JT] def target: Node
MutationRecord[JT] def `type`: String
NDEFMessage[JC]
NDEFReader[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
NDEFReader[JC] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
NDEFReader[JC] def dispatchEvent(evt: Event): Boolean
NDEFReader[JC] var onreading: js.Function1[NDEFReadingEvent, Any]
NDEFReader[JC] var onreadingerror: js.Function1[Event, Any]
NDEFReader[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
NDEFReader[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
NDEFReader[JC] def scan(options: NDEFScanOptions?): js.Promise[Any]
NDEFReader[JC] def write(message: NDEFRecord.Data, options: NDEFWriteOptions?): js.Promise[String]
NDEFRecord[JC] var data: NDEFRecord.Data
NDEFRecord[JC] var encoding: js.UndefOr[String]
NDEFRecord[JC] var id: js.UndefOr[String]
NDEFRecord[JC] var lang: js.UndefOr[String]
NDEFRecord[JC] var mediaType: js.UndefOr[String]
NDEFRecord[JC] var recordType: String
NDEFRecord[JC] def toRecords(): js.Array[NDEFRecord]
NDEFRecord[SO] type Data = String | js.typedarray.ArrayBuffer | js.typedarray.DataView | js.Array[NDEFRecord]
NDEFScanOptions[JT] def signal: js.UndefOr[AbortSignal]
NDEFWriteOptions[JT] def overwrite: Boolean
NDEFWriteOptions[JT] def signal: js.UndefOr[AbortSignal]
NamedNodeMap[JC] @scala.scalajs.js.annotation.JSBracketAccess def apply(index: Int): Attr
NamedNodeMap[JC] def getNamedItem(name: String): Attr
NamedNodeMap[JC] def getNamedItemNS(namespaceURI: String, localName: String): Attr
Expand Down
3 changes: 1 addition & 2 deletions dom/src/main/scala/org/scalajs/dom/NDEFReadingEvent.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.scalajs.dom

import scala.scalajs.js
import scala.scalajs.js.|

/** The NDEFReadingEvent interface of the Web NFC API represents events dispatched on new NFC readings obtained by
* NDEFReader.
Expand All @@ -18,6 +17,6 @@ trait NDEFReadingEvent extends Event {
/** Returns the serial number of the device, which is used for anti-collision and identification, or an empty string
* if no serial number is available.
*/
var serialNumber: String | "" = js.native
var serialNumber: String = js.native

}
2 changes: 1 addition & 1 deletion dom/src/main/scala/org/scalajs/dom/NDEFRecord.scala
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.scalajs.dom

import scala.scalajs.js
import scala.scalajs.js.|
import scala.scalajs.js.annotation.JSGlobal
import scala.scalajs.js.|

/** The [[NDEFRecord]] interface of the Web NFC API provides data that can be read from, or written to, compatible NFC
* devices, e.g. NFC tags supporting NDEF.
Expand Down

0 comments on commit c3d4f22

Please sign in to comment.