-
Notifications
You must be signed in to change notification settings - Fork 22.9k
[Experiment] Provide complete minimal reference for SVGAElement interface #41463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
15e12e0
Provide complete minimal reference for SVGAElement interface
chrisdavidmills 604d6da
Update files/en-us/web/api/svgaelement/username/index.md
chrisdavidmills 20a8d12
Update files/en-us/web/api/svgaelement/download/index.md
chrisdavidmills a0b2484
Update files/en-us/web/api/svgaelement/hash/index.md
chrisdavidmills cd69466
Update files/en-us/web/api/svgaelement/host/index.md
chrisdavidmills 2f7993e
Update files/en-us/web/api/svgaelement/hostname/index.md
chrisdavidmills 80a15b7
Update files/en-us/web/api/svgaelement/hreflang/index.md
chrisdavidmills c1f76d0
Update files/en-us/web/api/svgaelement/origin/index.md
chrisdavidmills 8f601e2
Update files/en-us/web/api/svgaelement/password/index.md
chrisdavidmills af8bb79
Update files/en-us/web/api/svgaelement/pathname/index.md
chrisdavidmills cf3f7a1
Update files/en-us/web/api/svgaelement/ping/index.md
chrisdavidmills 53ed301
Update files/en-us/web/api/svgaelement/port/index.md
chrisdavidmills 7d26bf1
Update files/en-us/web/api/svgaelement/protocol/index.md
chrisdavidmills 6826f9f
Update files/en-us/web/api/svgaelement/referrerpolicy/index.md
chrisdavidmills f584061
Update files/en-us/web/api/svgaelement/search/index.md
chrisdavidmills 767eb9f
Update files/en-us/web/api/svgaelement/text/index.md
chrisdavidmills 3790f4f
Update files/en-us/web/api/svgaelement/type/index.md
chrisdavidmills 91e54ab
description consistency
chrisdavidmills File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| --- | ||
| title: "SVGAElement: download property" | ||
| short-title: download | ||
| slug: Web/API/SVGAElement/download | ||
| page-type: web-api-instance-property | ||
| browser-compat: api.SVGAElement.download | ||
| --- | ||
|
|
||
| {{APIRef("SVG")}} | ||
|
|
||
| The **`download`** property of the {{domxref("SVGAElement")}} returns a string indicating that the browser should treat the linked URL as a download. | ||
|
|
||
| This property can be set, to change the URL's `download` value. It reflects the value of the [`download`](/en-US/docs/Web/HTML/Reference/Elements/a#download) attribute. | ||
|
|
||
| > [!NOTE] | ||
| > This value might not be used for download. This value cannot be used to determine whether the download will occur. | ||
|
|
||
| ## Value | ||
|
|
||
| A string. | ||
|
|
||
| ## Specifications | ||
|
|
||
| {{Specifications}} | ||
|
|
||
| ## Browser compatibility | ||
|
|
||
| {{Compat}} | ||
|
|
||
| ## See also | ||
|
|
||
| - [`download`](/en-US/docs/Web/HTML/Reference/Elements/a#download) attribute | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| --- | ||
| title: "SVGAElement: hash property" | ||
| short-title: hash | ||
| slug: Web/API/SVGAElement/hash | ||
| page-type: web-api-instance-property | ||
| browser-compat: api.SVGAElement.hash | ||
| --- | ||
|
|
||
| {{APIRef("SVG")}} | ||
|
|
||
| The **`hash`** property of the {{domxref("SVGAElement")}} returns a string representing the fragment identifier, including the leading hash mark (`#`), if any, in the referenced URL. | ||
chrisdavidmills marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| This property can be set, to change the URL's fragment (ignores leading `#`). | ||
|
|
||
| ## Value | ||
|
|
||
| A string. | ||
|
|
||
| ## Specifications | ||
|
|
||
| {{Specifications}} | ||
|
|
||
| ## Browser compatibility | ||
|
|
||
| {{Compat}} | ||
|
|
||
| ## See also | ||
|
|
||
| - SVG [`<a>`](/en-US/docs/Web/HTML/Reference/Elements/a) element | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| --- | ||
| title: "SVGAElement: host property" | ||
| short-title: host | ||
| slug: Web/API/SVGAElement/host | ||
| page-type: web-api-instance-property | ||
| browser-compat: api.SVGAElement.host | ||
| --- | ||
|
|
||
| {{APIRef("SVG")}} | ||
|
|
||
| The **`host`** property of the {{domxref("SVGAElement")}} returns a string representing the hostname and port (if it's not the default port) in the referenced URL. | ||
chrisdavidmills marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| This property can be set, to change the URL's host and port. | ||
|
|
||
| ## Value | ||
|
|
||
| A string. | ||
|
|
||
| ## Specifications | ||
|
|
||
| {{Specifications}} | ||
|
|
||
| ## Browser compatibility | ||
|
|
||
| {{Compat}} | ||
|
|
||
| ## See also | ||
|
|
||
| - SVG [`<a>`](/en-US/docs/Web/HTML/Reference/Elements/a) element | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| --- | ||
| title: "SVGAElement: hostname property" | ||
| short-title: hostname | ||
| slug: Web/API/SVGAElement/hostname | ||
| page-type: web-api-instance-property | ||
| browser-compat: api.SVGAElement.hostname | ||
| --- | ||
|
|
||
| {{APIRef("SVG")}} | ||
|
|
||
| The **`hostname`** property of the {{domxref("SVGAElement")}} returns a string representing the hostname in the referenced URL. | ||
chrisdavidmills marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| This property can be set, to change the URL's hostname. | ||
|
|
||
| ## Value | ||
|
|
||
| A string. | ||
|
|
||
| ## Specifications | ||
|
|
||
| {{Specifications}} | ||
|
|
||
| ## Browser compatibility | ||
|
|
||
| {{Compat}} | ||
|
|
||
| ## See also | ||
|
|
||
| - SVG [`<a>`](/en-US/docs/Web/HTML/Reference/Elements/a) element | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| --- | ||
| title: "SVGAElement: hreflang property" | ||
| short-title: hreflang | ||
| slug: Web/API/SVGAElement/hreflang | ||
| page-type: web-api-instance-property | ||
| browser-compat: api.SVGAElement.hreflang | ||
| --- | ||
|
|
||
| {{APIRef("SVG")}} | ||
|
|
||
| The **`hreflang`** property of the {{domxref("SVGAElement")}} returns a string indicating the language of the linked resource. | ||
chrisdavidmills marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| This property can be set, to change the URL's `hreflang` value. It reflects the value of the [`hreflang`](/en-US/docs/Web/HTML/Reference/Elements/a#hreflang) attribute. | ||
|
|
||
| ## Value | ||
|
|
||
| A string. | ||
|
|
||
| ## Specifications | ||
|
|
||
| {{Specifications}} | ||
|
|
||
| ## Browser compatibility | ||
|
|
||
| {{Compat}} | ||
|
|
||
| ## See also | ||
|
|
||
| - [`hreflang`](/en-US/docs/Web/HTML/Reference/Elements/a#hreflang) attribute | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| --- | ||
| title: "SVGAElement: origin property" | ||
| short-title: origin | ||
| slug: Web/API/SVGAElement/origin | ||
| page-type: web-api-instance-property | ||
| browser-compat: api.SVGAElement.origin | ||
| --- | ||
|
|
||
| {{APIRef("SVG")}} | ||
|
|
||
| The **`origin`** readonly property of the {{domxref("SVGAElement")}} returns a string containing the origin of the URL, that is its scheme, its domain and its port. | ||
chrisdavidmills marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ## Value | ||
|
|
||
| A string. | ||
|
|
||
| ## Specifications | ||
|
|
||
| {{Specifications}} | ||
|
|
||
| ## Browser compatibility | ||
|
|
||
| {{Compat}} | ||
|
|
||
| ## See also | ||
|
|
||
| - SVG [`<a>`](/en-US/docs/Web/HTML/Reference/Elements/a) element | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| --- | ||
| title: "SVGAElement: password property" | ||
| short-title: password | ||
| slug: Web/API/SVGAElement/password | ||
| page-type: web-api-instance-property | ||
| browser-compat: api.SVGAElement.password | ||
| --- | ||
|
|
||
| {{APIRef("SVG")}} | ||
|
|
||
| The **`password`** property of the {{domxref("SVGAElement")}} returns a string containing the password specified before the domain name. | ||
chrisdavidmills marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| This property can be set, to change the URL's password. | ||
|
|
||
| ## Value | ||
|
|
||
| A string. | ||
|
|
||
| ## Specifications | ||
|
|
||
| {{Specifications}} | ||
|
|
||
| ## Browser compatibility | ||
|
|
||
| {{Compat}} | ||
|
|
||
| ## See also | ||
|
|
||
| - SVG [`<a>`](/en-US/docs/Web/HTML/Reference/Elements/a) element | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| --- | ||
| title: "SVGAElement: pathname property" | ||
| short-title: pathname | ||
| slug: Web/API/SVGAElement/pathname | ||
| page-type: web-api-instance-property | ||
| browser-compat: api.SVGAElement.pathname | ||
| --- | ||
|
|
||
| {{APIRef("SVG")}} | ||
|
|
||
| The **`pathname`** property of the {{domxref("SVGAElement")}} returns a string containing an initial `/` followed by the path of the URL, not including the query string or fragment. | ||
chrisdavidmills marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| This property can be set, to change the URL's pathname. | ||
|
|
||
| ## Value | ||
|
|
||
| A string. | ||
|
|
||
| ## Specifications | ||
|
|
||
| {{Specifications}} | ||
|
|
||
| ## Browser compatibility | ||
|
|
||
| {{Compat}} | ||
|
|
||
| ## See also | ||
|
|
||
| - SVG [`<a>`](/en-US/docs/Web/HTML/Reference/Elements/a) element | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| --- | ||
| title: "SVGAElement: ping property" | ||
| short-title: ping | ||
| slug: Web/API/SVGAElement/ping | ||
| page-type: web-api-instance-property | ||
| browser-compat: api.SVGAElement.ping | ||
| --- | ||
|
|
||
| {{APIRef("SVG")}} | ||
|
|
||
| The **`ping`** property of the {{domxref("SVGAElement")}} returns a string that reflects the `ping` attribute, containing a space-separated list of URLs to which, when the hyperlink is followed, {{HTTPMethod("POST")}} requests with the body `PING` will be sent by the browser (in the background). Typically used for tracking. | ||
chrisdavidmills marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| This property can be set, to change the URL's `ping` value. It reflects the value of the [`ping`](/en-US/docs/Web/HTML/Reference/Elements/a#ping) attribute. | ||
|
|
||
| ## Value | ||
|
|
||
| A string. | ||
|
|
||
| ## Specifications | ||
|
|
||
| {{Specifications}} | ||
|
|
||
| ## Browser compatibility | ||
|
|
||
| {{Compat}} | ||
|
|
||
| ## See also | ||
|
|
||
| - [`ping`](/en-US/docs/Web/HTML/Reference/Elements/a#ping) attribute | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| --- | ||
| title: "SVGAElement: port property" | ||
| short-title: port | ||
| slug: Web/API/SVGAElement/port | ||
| page-type: web-api-instance-property | ||
| browser-compat: api.SVGAElement.port | ||
| --- | ||
|
|
||
| {{APIRef("SVG")}} | ||
|
|
||
| The **`port`** property of the {{domxref("SVGAElement")}} returns a string representing the port component, if any, of the referenced URL. | ||
chrisdavidmills marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| This property can be set, to change the URL's port. | ||
|
|
||
| ## Value | ||
|
|
||
| A string. | ||
|
|
||
| ## Specifications | ||
|
|
||
| {{Specifications}} | ||
|
|
||
| ## Browser compatibility | ||
|
|
||
| {{Compat}} | ||
|
|
||
| ## See also | ||
|
|
||
| - SVG [`<a>`](/en-US/docs/Web/HTML/Reference/Elements/a) element | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| --- | ||
| title: "SVGAElement: protocol property" | ||
| short-title: protocol | ||
| slug: Web/API/SVGAElement/protocol | ||
| page-type: web-api-instance-property | ||
| browser-compat: api.SVGAElement.protocol | ||
| --- | ||
|
|
||
| {{APIRef("SVG")}} | ||
|
|
||
| The **`protocol`** property of the {{domxref("SVGAElement")}} returns a string representing the protocol component, including trailing colon (`:`), of the referenced URL. | ||
chrisdavidmills marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| This property can be set, to change the URL's protocol. | ||
|
|
||
| ## Value | ||
|
|
||
| A string. | ||
|
|
||
| ## Specifications | ||
|
|
||
| {{Specifications}} | ||
|
|
||
| ## Browser compatibility | ||
|
|
||
| {{Compat}} | ||
|
|
||
| ## See also | ||
|
|
||
| - SVG [`<a>`](/en-US/docs/Web/HTML/Reference/Elements/a) element | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| --- | ||
| title: "SVGAElement: referrerpolicy property" | ||
| short-title: referrerpolicy | ||
| slug: Web/API/SVGAElement/referrerpolicy | ||
| page-type: web-api-instance-property | ||
| browser-compat: api.SVGAElement.referrerpolicy | ||
| --- | ||
|
|
||
| {{APIRef("SVG")}} | ||
|
|
||
| The **`referrerpolicy`** property of the {{domxref("SVGAElement")}} returns a string specifying which [referrer](/en-US/docs/Web/HTTP/Reference/Headers/Referer) to send when fetching the [URL](/en-US/docs/Glossary/URL).. | ||
chrisdavidmills marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| This property can be set, to change the URL's `referrerpolicy` value. It reflects the value of the [`referrerpolicy`](/en-US/docs/Web/HTML/Reference/Elements/a#referrerpolicy) attribute. | ||
|
|
||
| ## Value | ||
|
|
||
| A string. | ||
|
|
||
| ## Specifications | ||
|
|
||
| {{Specifications}} | ||
|
|
||
| ## Browser compatibility | ||
|
|
||
| {{Compat}} | ||
|
|
||
| ## See also | ||
|
|
||
| - [`referrerpolicy`](/en-US/docs/Web/HTML/Reference/Elements/a#referrerpolicy) attribute | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.