interface
LinkProps
Public interface LinkProps from @riducms/admin.
Properties
| Property | Type | Description |
|---|---|---|
child | Snippet< | The child value. |
discover | DiscoverBehavior | | Defines the link discovery behavior
``svelte
<Link /> // default ("render")
<Link discover="render" />
<Link discover="none" />
``
- **render** - default, discover the route when the link renders
- **none** - don't eagerly discover, only discover if the link is clicked |
prefetch | PrefetchBehavior | | Defines the data and module prefetching behavior for the link.
``svelte
<Link /> // default
<Link prefetch="none" />
<Link prefetch="intent" />
<Link prefetch="render" />
<Link prefetch="viewport" />
- **none** - default, no prefetching
- **intent** - prefetches when the user hovers or focuses the link
- **render** - prefetches when the link renders
- **viewport** - prefetches when the link is in the viewport, very useful for mobile
Prefetching is done with HTML <link rel="prefetch"> tags. They are inserted after the link.
svelte
<a href="..." />
<a href="..." />
<link rel="prefetch" /> // might conditionally render
Because of this, if you are using nav :last-child you will need to use nav :last-of-type` so the styles don't conditionally fall off your last link (and any other similar selectors). |
reloadDocument | boolean | | Will use document navigation instead of client side routing when the link is clicked: the browser will handle the transition normally (as if it were an <a href>).
``svelte
<Link to="/logout" reloadDocument />
|
replace | boolean | | Replaces the current entry in the history stack instead of pushing a new one onto it.
``svelte
<Link replace />
# with a history stack like this
A -> B
# normal link click pushes a new entry
A -> B -> C
# but with replace, B is replaced by C
A -> C
|
state | any | Adds persistent client side routing state to the next location.
``svelte
<Link to="/somewhere/else" state={{ some: "value" }} />
The location state is accessed from the location.
svelte
<script>
import { useLocation } from "@hvniel/svelte-router";
const location = useLocation()
$effect(() => console.log(location.current.state)); // { some: "value" }
</script\>
This state is inaccessible on the server as it is implemented on top of [history.state`](https://developer.mozilla.org/en-US/docs/Web/API/History/state) |
preventScrollReset | boolean | | Prevents the scroll position from being reset to the top of the window when the link is clicked and the app is using {@link ScrollRestoration}. This only prevents new locations reseting scroll to the top, scroll position will be restored for back/forward button navigation.
``svelte
<Link to="?tab=one" preventScrollReset />
|
relative | RelativeRoutingType | | Defines the relative path behavior for the link.
``svelte
<Link to=".." /> // default: "route"
<Link relative="route" />
<Link relative="path" />
Consider a route hierarchy where a parent route pattern is "blog" and a child route pattern is "blog/:slug/edit".
- **route** - default, resolves the link relative to the route pattern. In the example above a relative link of ".." will remove both :slug/edit segments back to "/blog".
- **path** - relative to the path so ..` will only remove one URL segment up to "/blog/:slug" |
to | To | Can be a string or a partial {@link Path }:
``svelte
<Link to="/some/path" />
<Link
to={{
pathname: "/some/path",
search: "?query=string",
hash: "#hash",
}}
/>
|
viewTransition | boolean | | Enables a [View Transition](https://developer.mozilla.org/en-US/docs/Web/API/View_Transitions_API) for this navigation.
``svelte
<Link to={to} viewTransition>
Click me
</Link>
``
To apply specific styles for the transition, see {@link useViewTransitionState } |
download | any | The download value. |
hreflang | string | | The hreflang value. |
media | string | | The media value. |
ping | string | | The ping value. |
rel | string | | The rel value. |
target | HTMLAttributeAnchorTarget | | The target value. |
type | string | | The type value. |
referrerpolicy | ReferrerPolicy | | The referrerpolicy value. |
accesskey | string | | The accesskey value. |
autocapitalize | "none" | | The autocapitalize value. |
autofocus | boolean | | The autofocus value. |
class | ClassValue | | The class value. |
contenteditable | Booleanish | | The contenteditable value. |
contextmenu | string | | The contextmenu value. |
dir | "ltr" | | The dir value. |
draggable | Booleanish | | The draggable value. |
elementtiming | string | | The elementtiming value. |
enterkeyhint | "enter" | | The enterkeyhint value. |
hidden | boolean | | The hidden value. |
id | string | | The id value. |
lang | string | | The lang value. |
part | string | | The part value. |
placeholder | string | | The placeholder value. |
slot | string | | The slot value. |
spellcheck | Booleanish | | The spellcheck value. |
style | string | | The style value. |
tabindex | number | | The tabindex value. |
title | string | | The title value. |
translate | "" | | The translate value. |
inert | boolean | | The inert value. |
popover | "" | | The popover value. |
writingsuggestions | Booleanish | | The writingsuggestions value. |
radiogroup | string | | The radiogroup value. |
role | AriaRole | | The role value. |
about | string | | The about value. |
datatype | string | | The datatype value. |
inlist | any | The inlist value. |
prefix | string | | The prefix value. |
property | string | | The property value. |
resource | string | | The resource value. |
typeof | string | | The typeof value. |
vocab | string | | The vocab value. |
autosave | string | | The autosave value. |
color | string | | The color value. |
itemprop | string | | The itemprop value. |
itemscope | boolean | | The itemscope value. |
itemtype | string | | The itemtype value. |
itemid | string | | The itemid value. |
itemref | string | | The itemref value. |
results | number | | The results value. |
security | string | | The security value. |
unselectable | "off" | | The unselectable value. |
inputmode | "none" | | Hints at the type of data that might be entered by the user while editing the element or its contents |
is | string | | Specify that a standard HTML element should behave like a defined custom built-in element |
bind:innerHTML | string | | Elements with the contenteditable attribute support innerHTML, textContent and innerText bindings. |
bind:textContent | string | | Elements with the contenteditable attribute support innerHTML, textContent and innerText bindings. |
bind:innerText | string | | Elements with the contenteditable attribute support innerHTML, textContent and innerText bindings. |
bind:focused | boolean | | The bind:focused value. |
bind:offsetWidth | number | | The bind:offsetWidth value. |
bind:offsetHeight | number | | The bind:offsetHeight value. |
aria-activedescendant | string | | Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. |
aria-atomic | Booleanish | | Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute. |
aria-autocomplete | "none" | | Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made. |
aria-busy | Booleanish | | Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user. |
aria-checked | boolean | | Indicates the current "checked" state of checkboxes, radio buttons, and other widgets. |
aria-colcount | number | | Defines the total number of columns in a table, grid, or treegrid. |
aria-colindex | number | | Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. |
aria-colspan | number | | Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. |
aria-controls | string | | Identifies the element (or elements) whose contents or presence are controlled by the current element. |
aria-current | Booleanish | | Indicates the element that represents the current item within a container or set of related elements. |
aria-describedby | string | | Identifies the element (or elements) that describes the object. |
aria-details | string | | Identifies the element that provides a detailed, extended description for the object. |
aria-disabled | Booleanish | | Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. |
aria-dropeffect | "none" | | Indicates what functions can be performed when a dragged object is released on the drop target. |
aria-errormessage | string | | Identifies the element that provides an error message for the object. |
aria-expanded | Booleanish | | Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. |
aria-flowto | string | | Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order. |
aria-grabbed | Booleanish | | Indicates an element's "grabbed" state in a drag-and-drop operation. |
aria-haspopup | Booleanish | | Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. |
aria-hidden | Booleanish | | Indicates whether the element is exposed to an accessibility API. |
aria-invalid | Booleanish | | Indicates the entered value does not conform to the format expected by the application. |
aria-keyshortcuts | string | | Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. |
aria-label | string | | Defines a string value that labels the current element. |
aria-labelledby | string | | Identifies the element (or elements) that labels the current element. |
aria-level | number | | Defines the hierarchical level of an element within a structure. |
aria-live | "off" | | Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region. |
aria-modal | Booleanish | | Indicates whether an element is modal when displayed. |
aria-multiline | Booleanish | | Indicates whether a text box accepts multiple lines of input or only a single line. |
aria-multiselectable | Booleanish | | Indicates that the user may select more than one item from the current selectable descendants. |
aria-orientation | "horizontal" | | Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. |
aria-owns | string | | Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. |
aria-placeholder | string | | Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format. |
aria-posinset | number | | Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. |
aria-pressed | boolean | | Indicates the current "pressed" state of toggle buttons. |
aria-readonly | Booleanish | | Indicates that the element is not editable, but is otherwise operable. |
aria-relevant | "text" | | Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. |
aria-required | Booleanish | | Indicates that user input is required on the element before a form may be submitted. |
aria-roledescription | string | | Defines a human-readable, author-localized description for the role of an element. |
aria-rowcount | number | | Defines the total number of rows in a table, grid, or treegrid. |
aria-rowindex | number | | Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. |
aria-rowspan | number | | Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. |
aria-selected | Booleanish | | Indicates the current "selected" state of various widgets. |
aria-setsize | number | | Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. |
aria-sort | "none" | | Indicates if items in a table or grid are sorted in ascending or descending order. |
aria-valuemax | number | | Defines the maximum allowed value for a range widget. |
aria-valuemin | number | | Defines the minimum allowed value for a range widget. |
aria-valuenow | number | | Defines the current value for a range widget. |
aria-valuetext | string | | Defines the human readable text alternative of aria-valuenow for a range widget. |
children | Snippet< | The children value. |
on:copy | ClipboardEventHandler< | The on:copy value. |
oncopy | ClipboardEventHandler< | The oncopy value. |
oncopycapture | ClipboardEventHandler< | The oncopycapture value. |
on:cut | ClipboardEventHandler< | The on:cut value. |
oncut | ClipboardEventHandler< | The oncut value. |
oncutcapture | ClipboardEventHandler< | The oncutcapture value. |
on:paste | ClipboardEventHandler< | The on:paste value. |
onpaste | ClipboardEventHandler< | The onpaste value. |
onpastecapture | ClipboardEventHandler< | The onpastecapture value. |
on:compositionend | CompositionEventHandler< | The on:compositionend value. |
oncompositionend | CompositionEventHandler< | The oncompositionend value. |
oncompositionendcapture | CompositionEventHandler< | The oncompositionendcapture value. |
on:compositionstart | CompositionEventHandler< | The on:compositionstart value. |
oncompositionstart | CompositionEventHandler< | The oncompositionstart value. |
oncompositionstartcapture | CompositionEventHandler< | The oncompositionstartcapture value. |
on:compositionupdate | CompositionEventHandler< | The on:compositionupdate value. |
oncompositionupdate | CompositionEventHandler< | The oncompositionupdate value. |
oncompositionupdatecapture | CompositionEventHandler< | The oncompositionupdatecapture value. |
on:focus | FocusEventHandler< | The on:focus value. |
onfocus | FocusEventHandler< | The onfocus value. |
onfocuscapture | FocusEventHandler< | The onfocuscapture value. |
on:focusin | FocusEventHandler< | The on:focusin value. |
onfocusin | FocusEventHandler< | The onfocusin value. |
onfocusincapture | FocusEventHandler< | The onfocusincapture value. |
on:focusout | FocusEventHandler< | The on:focusout value. |
onfocusout | FocusEventHandler< | The onfocusout value. |
onfocusoutcapture | FocusEventHandler< | The onfocusoutcapture value. |
on:blur | FocusEventHandler< | The on:blur value. |
onblur | FocusEventHandler< | The onblur value. |
onblurcapture | FocusEventHandler< | The onblurcapture value. |
on:change | FormEventHandler< | The on:change value. |
onchange | FormEventHandler< | The onchange value. |
onchangecapture | FormEventHandler< | The onchangecapture value. |
on:beforeinput | EventHandler< | The on:beforeinput value. |
onbeforeinput | EventHandler< | The onbeforeinput value. |
onbeforeinputcapture | EventHandler< | The onbeforeinputcapture value. |
on:input | FormEventHandler< | The on:input value. |
oninput | FormEventHandler< | The oninput value. |
oninputcapture | FormEventHandler< | The oninputcapture value. |
on:reset | FormEventHandler< | The on:reset value. |
onreset | FormEventHandler< | The onreset value. |
onresetcapture | FormEventHandler< | The onresetcapture value. |
on:submit | EventHandler< | The on:submit value. |
onsubmit | EventHandler< | The onsubmit value. |
onsubmitcapture | EventHandler< | The onsubmitcapture value. |
on:invalid | EventHandler< | The on:invalid value. |
oninvalid | EventHandler< | The oninvalid value. |
oninvalidcapture | EventHandler< | The oninvalidcapture value. |
on:formdata | EventHandler< | The on:formdata value. |
onformdata | EventHandler< | The onformdata value. |
onformdatacapture | EventHandler< | The onformdatacapture value. |
on:load | EventHandler< | The on:load value. |
onload | EventHandler< | The onload value. |
onloadcapture | EventHandler< | The onloadcapture value. |
on:error | EventHandler< | The on:error value. |
onerror | EventHandler< | The onerror value. |
onerrorcapture | EventHandler< | The onerrorcapture value. |
on:beforetoggle | ToggleEventHandler< | The on:beforetoggle value. |
onbeforetoggle | ToggleEventHandler< | The onbeforetoggle value. |
onbeforetogglecapture | ToggleEventHandler< | The onbeforetogglecapture value. |
on:toggle | ToggleEventHandler< | The on:toggle value. |
ontoggle | ToggleEventHandler< | The ontoggle value. |
ontogglecapture | ToggleEventHandler< | The ontogglecapture value. |
on:contentvisibilityautostatechange | ContentVisibilityAutoStateChangeEventHandler< | The on:contentvisibilityautostatechange value. |
oncontentvisibilityautostatechange | ContentVisibilityAutoStateChangeEventHandler< | The oncontentvisibilityautostatechange value. |
oncontentvisibilityautostatechangecapture | ContentVisibilityAutoStateChangeEventHandler< | The oncontentvisibilityautostatechangecapture value. |
on:keydown | KeyboardEventHandler< | The on:keydown value. |
onkeydown | KeyboardEventHandler< | The onkeydown value. |
onkeydowncapture | KeyboardEventHandler< | The onkeydowncapture value. |
on:keypress | KeyboardEventHandler< | The on:keypress value. |
onkeypress | KeyboardEventHandler< | The onkeypress value. |
onkeypresscapture | KeyboardEventHandler< | The onkeypresscapture value. |
on:keyup | KeyboardEventHandler< | The on:keyup value. |
onkeyup | KeyboardEventHandler< | The onkeyup value. |
onkeyupcapture | KeyboardEventHandler< | The onkeyupcapture value. |
on:abort | EventHandler< | The on:abort value. |
onabort | EventHandler< | The onabort value. |
onabortcapture | EventHandler< | The onabortcapture value. |
on:canplay | EventHandler< | The on:canplay value. |
oncanplay | EventHandler< | The oncanplay value. |
oncanplaycapture | EventHandler< | The oncanplaycapture value. |
on:canplaythrough | EventHandler< | The on:canplaythrough value. |
oncanplaythrough | EventHandler< | The oncanplaythrough value. |
oncanplaythroughcapture | EventHandler< | The oncanplaythroughcapture value. |
on:cuechange | EventHandler< | The on:cuechange value. |
oncuechange | EventHandler< | The oncuechange value. |
oncuechangecapture | EventHandler< | The oncuechangecapture value. |
on:durationchange | EventHandler< | The on:durationchange value. |
ondurationchange | EventHandler< | The ondurationchange value. |
ondurationchangecapture | EventHandler< | The ondurationchangecapture value. |
on:emptied | EventHandler< | The on:emptied value. |
onemptied | EventHandler< | The onemptied value. |
onemptiedcapture | EventHandler< | The onemptiedcapture value. |
on:encrypted | EventHandler< | The on:encrypted value. |
onencrypted | EventHandler< | The onencrypted value. |
onencryptedcapture | EventHandler< | The onencryptedcapture value. |
on:ended | EventHandler< | The on:ended value. |
onended | EventHandler< | The onended value. |
onendedcapture | EventHandler< | The onendedcapture value. |
on:loadeddata | EventHandler< | The on:loadeddata value. |
onloadeddata | EventHandler< | The onloadeddata value. |
onloadeddatacapture | EventHandler< | The onloadeddatacapture value. |
on:loadedmetadata | EventHandler< | The on:loadedmetadata value. |
onloadedmetadata | EventHandler< | The onloadedmetadata value. |
onloadedmetadatacapture | EventHandler< | The onloadedmetadatacapture value. |
on:loadstart | EventHandler< | The on:loadstart value. |
onloadstart | EventHandler< | The onloadstart value. |
onloadstartcapture | EventHandler< | The onloadstartcapture value. |
on:pause | EventHandler< | The on:pause value. |
onpause | EventHandler< | The onpause value. |
onpausecapture | EventHandler< | The onpausecapture value. |
on:play | EventHandler< | The on:play value. |
onplay | EventHandler< | The onplay value. |
onplaycapture | EventHandler< | The onplaycapture value. |
on:playing | EventHandler< | The on:playing value. |
onplaying | EventHandler< | The onplaying value. |
onplayingcapture | EventHandler< | The onplayingcapture value. |
on:progress | EventHandler< | The on:progress value. |
onprogress | EventHandler< | The onprogress value. |
onprogresscapture | EventHandler< | The onprogresscapture value. |
on:ratechange | EventHandler< | The on:ratechange value. |
onratechange | EventHandler< | The onratechange value. |
onratechangecapture | EventHandler< | The onratechangecapture value. |
on:seeked | EventHandler< | The on:seeked value. |
onseeked | EventHandler< | The onseeked value. |
onseekedcapture | EventHandler< | The onseekedcapture value. |
on:seeking | EventHandler< | The on:seeking value. |
onseeking | EventHandler< | The onseeking value. |
onseekingcapture | EventHandler< | The onseekingcapture value. |
on:stalled | EventHandler< | The on:stalled value. |
onstalled | EventHandler< | The onstalled value. |
onstalledcapture | EventHandler< | The onstalledcapture value. |
on:suspend | EventHandler< | The on:suspend value. |
onsuspend | EventHandler< | The onsuspend value. |
onsuspendcapture | EventHandler< | The onsuspendcapture value. |
on:timeupdate | EventHandler< | The on:timeupdate value. |
ontimeupdate | EventHandler< | The ontimeupdate value. |
ontimeupdatecapture | EventHandler< | The ontimeupdatecapture value. |
on:volumechange | EventHandler< | The on:volumechange value. |
onvolumechange | EventHandler< | The onvolumechange value. |
onvolumechangecapture | EventHandler< | The onvolumechangecapture value. |
on:waiting | EventHandler< | The on:waiting value. |
onwaiting | EventHandler< | The onwaiting value. |
onwaitingcapture | EventHandler< | The onwaitingcapture value. |
on:auxclick | MouseEventHandler< | The on:auxclick value. |
onauxclick | MouseEventHandler< | The onauxclick value. |
onauxclickcapture | MouseEventHandler< | The onauxclickcapture value. |
on:click | MouseEventHandler< | The on:click value. |
onclick | MouseEventHandler< | The onclick value. |
onclickcapture | MouseEventHandler< | The onclickcapture value. |
on:contextmenu | MouseEventHandler< | The on:contextmenu value. |
oncontextmenu | MouseEventHandler< | The oncontextmenu value. |
oncontextmenucapture | MouseEventHandler< | The oncontextmenucapture value. |
on:dblclick | MouseEventHandler< | The on:dblclick value. |
ondblclick | MouseEventHandler< | The ondblclick value. |
ondblclickcapture | MouseEventHandler< | The ondblclickcapture value. |
on:drag | DragEventHandler< | The on:drag value. |
ondrag | DragEventHandler< | The ondrag value. |
ondragcapture | DragEventHandler< | The ondragcapture value. |
on:dragend | DragEventHandler< | The on:dragend value. |
ondragend | DragEventHandler< | The ondragend value. |
ondragendcapture | DragEventHandler< | The ondragendcapture value. |
on:dragenter | DragEventHandler< | The on:dragenter value. |
ondragenter | DragEventHandler< | The ondragenter value. |
ondragentercapture | DragEventHandler< | The ondragentercapture value. |
on:dragexit | DragEventHandler< | The on:dragexit value. |
ondragexit | DragEventHandler< | The ondragexit value. |
ondragexitcapture | DragEventHandler< | The ondragexitcapture value. |
on:dragleave | DragEventHandler< | The on:dragleave value. |
ondragleave | DragEventHandler< | The ondragleave value. |
ondragleavecapture | DragEventHandler< | The ondragleavecapture value. |
on:dragover | DragEventHandler< | The on:dragover value. |
ondragover | DragEventHandler< | The ondragover value. |
ondragovercapture | DragEventHandler< | The ondragovercapture value. |
on:dragstart | DragEventHandler< | The on:dragstart value. |
ondragstart | DragEventHandler< | The ondragstart value. |
ondragstartcapture | DragEventHandler< | The ondragstartcapture value. |
on:drop | DragEventHandler< | The on:drop value. |
ondrop | DragEventHandler< | The ondrop value. |
ondropcapture | DragEventHandler< | The ondropcapture value. |
on:mousedown | MouseEventHandler< | The on:mousedown value. |
onmousedown | MouseEventHandler< | The onmousedown value. |
onmousedowncapture | MouseEventHandler< | The onmousedowncapture value. |
on:mouseenter | MouseEventHandler< | The on:mouseenter value. |
onmouseenter | MouseEventHandler< | The onmouseenter value. |
on:mouseleave | MouseEventHandler< | The on:mouseleave value. |
onmouseleave | MouseEventHandler< | The onmouseleave value. |
on:mousemove | MouseEventHandler< | The on:mousemove value. |
onmousemove | MouseEventHandler< | The onmousemove value. |
onmousemovecapture | MouseEventHandler< | The onmousemovecapture value. |
on:mouseout | MouseEventHandler< | The on:mouseout value. |
onmouseout | MouseEventHandler< | The onmouseout value. |
onmouseoutcapture | MouseEventHandler< | The onmouseoutcapture value. |
on:mouseover | MouseEventHandler< | The on:mouseover value. |
onmouseover | MouseEventHandler< | The onmouseover value. |
onmouseovercapture | MouseEventHandler< | The onmouseovercapture value. |
on:mouseup | MouseEventHandler< | The on:mouseup value. |
onmouseup | MouseEventHandler< | The onmouseup value. |
onmouseupcapture | MouseEventHandler< | The onmouseupcapture value. |
on:select | EventHandler< | The on:select value. |
onselect | EventHandler< | The onselect value. |
onselectcapture | EventHandler< | The onselectcapture value. |
on:selectionchange | EventHandler< | The on:selectionchange value. |
onselectionchange | EventHandler< | The onselectionchange value. |
onselectionchangecapture | EventHandler< | The onselectionchangecapture value. |
on:selectstart | EventHandler< | The on:selectstart value. |
onselectstart | EventHandler< | The onselectstart value. |
onselectstartcapture | EventHandler< | The onselectstartcapture value. |
on:touchcancel | TouchEventHandler< | The on:touchcancel value. |
ontouchcancel | TouchEventHandler< | The ontouchcancel value. |
ontouchcancelcapture | TouchEventHandler< | The ontouchcancelcapture value. |
on:touchend | TouchEventHandler< | The on:touchend value. |
ontouchend | TouchEventHandler< | The ontouchend value. |
ontouchendcapture | TouchEventHandler< | The ontouchendcapture value. |
on:touchmove | TouchEventHandler< | The on:touchmove value. |
ontouchmove | TouchEventHandler< | The ontouchmove value. |
ontouchmovecapture | TouchEventHandler< | The ontouchmovecapture value. |
on:touchstart | TouchEventHandler< | The on:touchstart value. |
ontouchstart | TouchEventHandler< | The ontouchstart value. |
ontouchstartcapture | TouchEventHandler< | The ontouchstartcapture value. |
on:gotpointercapture | PointerEventHandler< | The on:gotpointercapture value. |
ongotpointercapture | PointerEventHandler< | The ongotpointercapture value. |
ongotpointercapturecapture | PointerEventHandler< | The ongotpointercapturecapture value. |
on:pointercancel | PointerEventHandler< | The on:pointercancel value. |
onpointercancel | PointerEventHandler< | The onpointercancel value. |
onpointercancelcapture | PointerEventHandler< | The onpointercancelcapture value. |
on:pointerdown | PointerEventHandler< | The on:pointerdown value. |
onpointerdown | PointerEventHandler< | The onpointerdown value. |
onpointerdowncapture | PointerEventHandler< | The onpointerdowncapture value. |
on:pointerenter | PointerEventHandler< | The on:pointerenter value. |
onpointerenter | PointerEventHandler< | The onpointerenter value. |
onpointerentercapture | PointerEventHandler< | The onpointerentercapture value. |
on:pointerleave | PointerEventHandler< | The on:pointerleave value. |
onpointerleave | PointerEventHandler< | The onpointerleave value. |
onpointerleavecapture | PointerEventHandler< | The onpointerleavecapture value. |
on:pointermove | PointerEventHandler< | The on:pointermove value. |
onpointermove | PointerEventHandler< | The onpointermove value. |
onpointermovecapture | PointerEventHandler< | The onpointermovecapture value. |
on:pointerout | PointerEventHandler< | The on:pointerout value. |
onpointerout | PointerEventHandler< | The onpointerout value. |
onpointeroutcapture | PointerEventHandler< | The onpointeroutcapture value. |
on:pointerover | PointerEventHandler< | The on:pointerover value. |
onpointerover | PointerEventHandler< | The onpointerover value. |
onpointerovercapture | PointerEventHandler< | The onpointerovercapture value. |
on:pointerup | PointerEventHandler< | The on:pointerup value. |
onpointerup | PointerEventHandler< | The onpointerup value. |
onpointerupcapture | PointerEventHandler< | The onpointerupcapture value. |
on:lostpointercapture | PointerEventHandler< | The on:lostpointercapture value. |
onlostpointercapture | PointerEventHandler< | The onlostpointercapture value. |
onlostpointercapturecapture | PointerEventHandler< | The onlostpointercapturecapture value. |
on:gamepadconnected | GamepadEventHandler< | The on:gamepadconnected value. |
ongamepadconnected | GamepadEventHandler< | The ongamepadconnected value. |
on:gamepaddisconnected | GamepadEventHandler< | The on:gamepaddisconnected value. |
ongamepaddisconnected | GamepadEventHandler< | The ongamepaddisconnected value. |
on:scroll | UIEventHandler< | The on:scroll value. |
onscroll | UIEventHandler< | The onscroll value. |
onscrollcapture | UIEventHandler< | The onscrollcapture value. |
on:scrollend | UIEventHandler< | The on:scrollend value. |
onscrollend | UIEventHandler< | The onscrollend value. |
onscrollendcapture | UIEventHandler< | The onscrollendcapture value. |
on:resize | UIEventHandler< | The on:resize value. |
onresize | UIEventHandler< | The onresize value. |
onresizecapture | UIEventHandler< | The onresizecapture value. |
on:wheel | WheelEventHandler< | The on:wheel value. |
onwheel | WheelEventHandler< | The onwheel value. |
onwheelcapture | WheelEventHandler< | The onwheelcapture value. |
on:animationstart | AnimationEventHandler< | The on:animationstart value. |
onanimationstart | AnimationEventHandler< | The onanimationstart value. |
onanimationstartcapture | AnimationEventHandler< | The onanimationstartcapture value. |
on:animationend | AnimationEventHandler< | The on:animationend value. |
onanimationend | AnimationEventHandler< | The onanimationend value. |
onanimationendcapture | AnimationEventHandler< | The onanimationendcapture value. |
on:animationiteration | AnimationEventHandler< | The on:animationiteration value. |
onanimationiteration | AnimationEventHandler< | The onanimationiteration value. |
onanimationiterationcapture | AnimationEventHandler< | The onanimationiterationcapture value. |
on:transitionstart | TransitionEventHandler< | The on:transitionstart value. |
ontransitionstart | TransitionEventHandler< | The ontransitionstart value. |
ontransitionstartcapture | TransitionEventHandler< | The ontransitionstartcapture value. |
on:transitionrun | TransitionEventHandler< | The on:transitionrun value. |
ontransitionrun | TransitionEventHandler< | The ontransitionrun value. |
ontransitionruncapture | TransitionEventHandler< | The ontransitionruncapture value. |
on:transitionend | TransitionEventHandler< | The on:transitionend value. |
ontransitionend | TransitionEventHandler< | The ontransitionend value. |
ontransitionendcapture | TransitionEventHandler< | The ontransitionendcapture value. |
on:transitioncancel | TransitionEventHandler< | The on:transitioncancel value. |
ontransitioncancel | TransitionEventHandler< | The ontransitioncancel value. |
ontransitioncancelcapture | TransitionEventHandler< | The ontransitioncancelcapture value. |
on:outrostart | EventHandler< | The on:outrostart value. |
onoutrostart | EventHandler< | The onoutrostart value. |
onoutrostartcapture | EventHandler< | The onoutrostartcapture value. |
on:outroend | EventHandler< | The on:outroend value. |
onoutroend | EventHandler< | The onoutroend value. |
onoutroendcapture | EventHandler< | The onoutroendcapture value. |
on:introstart | EventHandler< | The on:introstart value. |
onintrostart | EventHandler< | The onintrostart value. |
onintrostartcapture | EventHandler< | The onintrostartcapture value. |
on:introend | EventHandler< | The on:introend value. |
onintroend | EventHandler< | The onintroend value. |
onintroendcapture | EventHandler< | The onintroendcapture value. |
on:message | MessageEventHandler< | The on:message value. |
onmessage | MessageEventHandler< | The onmessage value. |
onmessagecapture | MessageEventHandler< | The onmessagecapture value. |
on:messageerror | MessageEventHandler< | The on:messageerror value. |
onmessageerror | MessageEventHandler< | The onmessageerror value. |
onmessageerrorcapture | MessageEventHandler< | The onmessageerrorcapture value. |
on:visibilitychange | EventHandler< | The on:visibilitychange value. |
onvisibilitychange | EventHandler< | The onvisibilitychange value. |
onvisibilitychangecapture | EventHandler< | The onvisibilitychangecapture value. |
on:beforematch | EventHandler< | The on:beforematch value. |
onbeforematch | EventHandler< | The onbeforematch value. |
onbeforematchcapture | EventHandler< | The onbeforematchcapture value. |
on:cancel | EventHandler< | The on:cancel value. |
oncancel | EventHandler< | The oncancel value. |
oncancelcapture | EventHandler< | The oncancelcapture value. |
on:close | EventHandler< | The on:close value. |
onclose | EventHandler< | The onclose value. |
onclosecapture | EventHandler< | The onclosecapture value. |
on:fullscreenchange | EventHandler< | The on:fullscreenchange value. |
onfullscreenchange | EventHandler< | The onfullscreenchange value. |
onfullscreenchangecapture | EventHandler< | The onfullscreenchangecapture value. |
on:fullscreenerror | EventHandler< | The on:fullscreenerror value. |
onfullscreenerror | EventHandler< | The onfullscreenerror value. |
onfullscreenerrorcapture | EventHandler< | The onfullscreenerrorcapture value. |
bind:contentRect | DOMRectReadOnly | | The bind:contentRect value. |
bind:contentBoxSize | ResizeObserverSize[] | | The bind:contentBoxSize value. |
bind:borderBoxSize | ResizeObserverSize[] | | The bind:borderBoxSize value. |
bind:devicePixelContentBoxSize | ResizeObserverSize[] | | The bind:devicePixelContentBoxSize value. |
bind:clientWidth | number | | The bind:clientWidth value. |
bind:clientHeight | number | | The bind:clientHeight value. |
xmlns | string | | The xmlns value. |
Full signature
interface LinkProps { ... }