@@ -16,11 +16,12 @@ import Beta.DOM.Internal (FFIComponent_, createBuiltinElement_)
1616-- | Common attributes:
1717-- || Attribute | Type | Example | Description |
1818-- ||-----------|----------|----------------|-------------|
19−-- || `href` | `String` | `"/style.css"` | Location of the linked resource. |
20−-- || `rel` | `String` | `"stylesheet"` | The relationship between the current document and the linked resource. |
21−-- || `type` | `String` | `"image/png"` | The media type of the linked resource. |
22−-- || `media` | `String` | `"screen"` | What media/device the linked resource is optimised for. |
23−-- || `as` | `String` | `"fetch"` | This attribute is required when rel="preload" has been set on the <link> element, optional when rel="modulepreload" has been set, and otherwise should not be used. |
19+-- || `href` | `String` | `"/style.css"` | Location of the linked resource. |
20+-- || `rel` | `String` | `"stylesheet"` | The relationship between the current document and the linked resource. |
21+-- || `type` | `String` | `"image/png"` | The media type of the linked resource. |
22+-- || `media` | `String` | `"screen"` | What media/device the linked resource is optimised for. |
23+-- || `as` | `String` | `"fetch"` | This attribute is required when rel="preload" has been set on the <link> element, optional when rel="modulepreload" has been set, and otherwise should not be used. |
24+-- || `crossOrigin` | `String` | `"anonymous"` |
2425link :: FFIComponent_ LinkAttributes
2526link = createBuiltinElement_ "link"
2627