You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added richer WebIDL-derived doc coverage using the bridgejs-development skill: new fixtures model lib.dom-style comments (MDN reference blocks, @param text) and updated Vitest snapshots to show how those JSDoc comments render into DocC. Key files: Plugins/BridgeJS/Sources/TS2Swift/JavaScript/test/fixtures/WebIDLDOMDocs.d.ts, Plugins/BridgeJS/Sources/TS2Swift/JavaScript/test/fixtures/DOMLike.d.ts, and the refreshed snapshot in Plugins/BridgeJS/Sources/TS2Swift/JavaScript/test/__snapshots__/ts2swift.test.js.snap. Tests run: npm test -- -u (TS2Swift JavaScript).
@JSFunctionfunccreateElement(_tagName: String, _options: JSUndefinedOr<ElementCreationOptions>) throws(JSException) -> Element
474
+
/// Returns an element with namespace namespace. Its namespace prefix will be everything before ":" (U+003E) in qualifiedName or null. Its local name will be everything after ":" (U+003E) in qualifiedName or qualifiedName.
475
+
///
476
+
/// If localName does not match the Name production an "InvalidCharacterError" DOMException will be thrown.
477
+
///
478
+
/// If one of the following conditions is true a "NamespaceError" DOMException will be thrown:
479
+
///
480
+
/// localName does not match the QName production.
481
+
/// Namespace prefix is not null and namespace is the empty string.
482
+
/// Namespace prefix is "xml" and namespace is not the XML namespace.
483
+
/// qualifiedName or namespace prefix is "xmlns" and namespace is not the XMLNS namespace.
484
+
/// namespace is the XMLNS namespace and neither qualifiedName nor namespace prefix is "xmlns".
485
+
///
486
+
/// When supplied, options's is can be used to create a customized built-in element.
* Returns an element with namespace namespace. Its namespace prefix will be everything before ":" (U+003E) in qualifiedName or null. Its local name will be everything after ":" (U+003E) in qualifiedName or qualifiedName.
40
+
*
41
+
* If localName does not match the Name production an "InvalidCharacterError" DOMException will be thrown.
42
+
*
43
+
* If one of the following conditions is true a "NamespaceError" DOMException will be thrown:
44
+
*
45
+
* localName does not match the QName production.
46
+
* Namespace prefix is not null and namespace is the empty string.
47
+
* Namespace prefix is "xml" and namespace is not the XML namespace.
48
+
* qualifiedName or namespace prefix is "xmlns" and namespace is not the XMLNS namespace.
49
+
* namespace is the XMLNS namespace and neither qualifiedName nor namespace prefix is "xmlns".
50
+
*
51
+
* When supplied, options's is can be used to create a customized built-in element.
0 commit comments