Reference
Look a name up here. The Docs page explains how the pieces fit together. The tables below come from the table of names that YPY itself is built from, so they list exactly the names the library has. Extensions add rows to the same tables and say which extension owns each one.
Core attributes
The attributes of the core, in groups: request, trigger, target and swap, parameters, history, errors, accessibility
and morph. An attribute is written ypy-<name> or data-ypy-<name>. An attribute reaches the elements below it only
when it carries the :inherited modifier, and the table says which ones accept it. Families such as ypy-status:<code>
take a code or a name after the colon.
| Name | What it does |
|---|---|
ypy-get
|
Issues a |
ypy-post
|
Issues a |
ypy-put
|
Issues a |
ypy-patch
|
Issues a |
ypy-delete
|
Issues a |
ypy-query
|
Issues a |
ypy-action
|
Sets the request URL when the method comes from |
ypy-method
|
Sets the HTTP method, paired with
|
ypy-trigger
|
Chooses which events start the request of the element. Takes a comma separated list of event specifications, each with optional filters and modifiers. Without it, inputs and selects trigger on
|
ypy-swap
|
Chooses how the response is inserted into the target. Styles:
|
ypy-target
|
Sets where the response is inserted. Takes a CSS selector, |
ypy-select
|
Picks the part of the response to swap into the target, by CSS selector. |
ypy-select-oob
|
Picks elements of the response by selector and swaps each one out of band, by |
ypy-swap-oob
|
Marks an element of the response to be swapped out of band into the element with its
|
ypy-on
|
Runs inline JavaScript when an event fires. Write |
ypy-vals
|
Adds values to the request parameters. Takes JSON or HCON, or a JavaScript expression with the |
ypy-include
|
Includes the values of other elements in the request. Takes a selector, |
ypy-headers
|
Adds request headers. Takes JSON or HCON, or a JavaScript expression with the |
ypy-encoding
|
Sets the request encoding. Use
|
ypy-config
|
Sets fetch options of the request of the element ( |
ypy-indicator
|
Names the elements that receive the |
ypy-boost
|
Turns links and forms inside the element into YPY requests that swap the body and push the URL. Set it to |
ypy-sync
|
Decides what happens when the element asks for a request while another from the same owner is in flight. The value is
|
ypy-confirm
|
Asks for confirmation before the request. The value is the message; |
ypy-validate
|
Validates with the browser constraint API before the request: the form, the element and the elements |
ypy-ignore
|
Stops YPY from processing the element and its children. |
ypy-push-url
|
Pushes a URL into the browser history once the swap was applied; a swap that failed pushes nothing.
|
ypy-replace-url
|
Replaces the current history entry after the swap.
|
ypy-history-elt
|
Marks the element that is restored when the user navigates through the history, instead of |
ypy-status:*
|
Changes how a response with one status code, or a range such as |
ypy-error-target
|
Sets where a response of status 400 or more is swapped. Takes the same selectors as |
ypy-error-swap
|
Sets the swap style of a response of status 400 or more. Takes a swap spec as in |
ypy-error-focus
|
Says where the focus goes after an error response is swapped:
|
ypy-main
|
Marks the main target: the element a swap falls back to when its target selector matches nothing. Without a marker, |
ypy-fallback
|
Overrides
|
ypy-focus
|
Says where the keyboard focus goes when a swap ends. After a boosted navigation it moves to the heading of the new page. On an
|
ypy-scroll
|
Sets the scroll position when a swap ends: keep it, send it to the top, to an offset, or put a saved position back.
|
ypy-announce
|
Tells screen readers what changed after a request, through a live region YPY manages. The value is the text,
|
ypy-busy
|
Opts the element, or its target, out of the automatic |
ypy-preserve
|
Says how much of an element a swap or morph leaves alone. No value keeps the node by
|
ypy-preserve-attrs
|
Lists the attributes a morph must neither set nor remove. Everything else follows the response. Entries may end with |
ypy-morph-skip
|
Freezes the element during a morph swap: it is neither updated nor removed. |
ypy-morph-skip-children
|
Updates the attributes of the element during a morph swap but freezes its children. |
ypy-morph-force
|
Set in the response: lets the response win over what the user did to the element in a morph, such as the |
ypy-browser-indicator
ypy-browser-indicator
|
Shows the browser's own loading indicator (tab spinner, stop button) while the requests of this element run. Any value except
|
ypy-cache
ypy-cache
|
Keeps the response of this element's GET and shows it at once next time, then revalidates it with
|
ypy-cache-tags
ypy-cache
|
Labels the copy of this element's request with one or more tags, so the server can expire or evict it by name ( |
ypy-nonce
ypy-csp
|
Marks a YPY element as server-rendered trusted markup: its value must equal the page nonce, or |
ypy-dedupe
ypy-dedupe
|
Set to
|
ypy-disable
ypy-disable
|
Names the elements that are disabled while the request runs, with the |
ypy-inert
ypy-disable
|
With the
|
ypy-head
ypy-head
|
On the
|
ypy-history
ypy-history-cache
|
Set to
|
ypy-layer
ypy-layers
|
Opens the response of this link, form or
|
ypy-layer-close-on
ypy-layers
|
Event names that accept the layer. The first event of one of these names, fired inside the layer (or on the page, for the top layer), closes it and its |
ypy-layer-close-on-url
ypy-layers
|
URL patterns that accept the layer. When the layer navigates to a matching path and query ( |
ypy-layer-close-on-fragment
ypy-layers
|
Selector that accepts the layer. When a response holds a matching element the response is not swapped in: the layer closes with the |
ypy-layer-outside
ypy-layers
|
|
ypy-layer-escape
ypy-layers
|
|
ypy-layer-history
ypy-layers
|
Shows the URL of the layer in the address bar while it is open; Back closes the layer. |
ypy-layer-side
ypy-layers
|
The side a drawer comes from, written as
|
ypy-layer-label
ypy-layers
|
The accessible name of the layer ( |
ypy-layer-class
ypy-layers
|
Classes added to the dialog of this layer, after those of |
ypy-layer-accept
ypy-layers
|
Inside a layer: a click on this element accepts the layer. The value, parsed as JSON when it is valid and kept as text otherwise, is the result value. |
ypy-layer-dismiss
ypy-layers
|
Inside a layer: a click on this element dismisses the layer. The value is the reason (default |
ypy-layer-value
ypy-layers
|
On an element of a response matched by |
ypy-lazy
ypy-lazy
|
The URL of a GET request made when the element is about to be seen; the response replaces the element ( |
ypy-lazy-placeholder
ypy-lazy
|
A selector of a |
ypy-lazy-error
ypy-lazy
|
A selector of a |
ypy-lazy-retry
ypy-lazy
|
On an element inside a lazy region: loads the region again when clicked after an error. |
ypy-lazy-group
ypy-lazy
|
A group name for a lazy region. Regions of the same group that come into view within |
ypy-lazy-group-url
ypy-lazy
|
The URL of the group request, on any region of the group (the first region that has it wins). Without it the request goes to the |
ypy-list-focus
ypy-list
|
Moves the keyboard focus to the first item a
|
ypy-live
ypy-live
|
Runs a JavaScript expression when the element is processed and again whenever the DOM, an input or a swap may have changed what it reads. The expression runs with the |
ypy-live:*
ypy-live
|
Binds a JavaScript expression to a property of the element, re-evaluated like |
ypy-untrusted
ypy-model
|
Marks a container whose content a language model writes, with the
|
ypy-follow
ypy-model
|
On the container of a model answer: the page scrolls down while the answer grows, only when the reader was already at the bottom and |
ypy-stop
ypy-model
|
On a button: a selector of the elements that get |
ypy-announce-start
ypy-model
|
The live-region text said when the answer in this container starts. Falls back to |
ypy-announce-stop
ypy-model
|
The live-region text, assertive, said when the answer was stopped ( |
ypy-announce-error
ypy-model
|
The live-region text, assertive, said when the answer failed ( |
ypy-answer
ypy-model
|
Written by the server on the answer container (as
|
ypy-multipart:connect
ypy-multipart
|
Opens a long-lived |
ypy-multipart:close
ypy-multipart
|
Closes the connection when this event fires on the element. |
ypy-native-component
ypy-native
|
Asks the native app shell to render the named native component for this element. The element stays valid HTML and is the fallback in a browser. The name must be one the installed app build lists in its capabilities. |
ypy-native-props
ypy-native
|
The properties of the native component: one JSON object, at most 2 KiB, data only. |
ypy-native-hide
ypy-native
|
Hides the element in the app (the web header that a native bar replaces). It also becomes |
ypy-native-only
ypy-native
|
Shows the element only in the app. In a browser it is hidden and |
ypy-native-click
ypy-native
|
On the element itself: an |
ypy-prefetch
ypy-nav
|
Asks for the page a link opens before the click, and uses the response for the click. A bare attribute means
|
ypy-once
ypy-nav
|
On a |
ypy-optimistic
ypy-optimistic
|
Shows the result of the request before the server answers and puts the page back if it fails. The value is a selector of a
|
ypy-optimistic-target
ypy-optimistic
|
Where the optimistic change goes, instead of the target of the request. Takes a selector or an extended selector. |
ypy-optimistic-swap
ypy-optimistic
|
How the optimistic content is put in, instead of the swap style of the request ( |
ypy-pending
ypy-pending
|
Shows the content of another element, or of a |
ypy-persist
ypy-persist
|
Keeps the element (it needs an
|
ypy-track
ypy-persist
|
On an element of the page, usually in
|
ypy-poll
ypy-poll
|
Options of the smart polling of an element with an
|
ypy-preload
ypy-preload
|
Fetches the
|
ypy-progress
ypy-progress
|
Shows the progress bar for the requests of this element or region, not only for navigations.
|
ypy-prompt
ypy-prompt
|
Asks the user a question before the request, sends the answer in the |
ypy-ptag
ypy-ptag
|
Sets the initial per-element polling tag. YPY sends it as the |
ypy-retry
ypy-retry
|
Repeats a failed request, with exponential backoff and optional jitter. Off unless set. A bare attribute means 3 attempts;
|
ypy-scope
ypy-scope
|
Marks an element as a scope. The selector |
ypy-signals
ypy-signals
|
Declares signals and makes the element a scope: its signals are visible to the element and its descendants. Values are literals. An existing signal keeps its value when the markup is processed again, so a morph does not reset the state. A name that starts with |
ypy-signals.server
ypy-signals
|
Declares server-owned signals. The client cannot write them; only a server patch or the markup of this declaration changes them. This is a convenience of the UI, not security: the server must sign and verify the values it owns. |
ypy-signals.local
ypy-signals
|
Declares signals persisted in |
ypy-signals.session
ypy-signals
|
Declares signals persisted in |
ypy-computed:*
ypy-signals
|
Declares a derived, read-only signal named after the attribute ( |
ypy-bind
ypy-signals
|
Keeps a form control and a signal equal. The signal fills the field and the field writes the signal. By default the field writes on
|
ypy-bind:*
ypy-signals
|
Same as
|
ypy-text
ypy-signals
|
Sets |
ypy-show
ypy-signals
|
Hides the element ( |
ypy-class
ypy-signals
|
Toggles several classes from an object expression, such as |
ypy-class:*
ypy-signals
|
Toggles the class named in the attribute name when the expression is truthy, such as |
ypy-attr
ypy-signals
|
Sets several attributes from an object expression. |
ypy-attr:*
ypy-signals
|
Sets the attribute named in the attribute name from the expression. |
ypy-on:*
ypy-signals
|
Runs signal statements when the DOM event fires, such as
|
ypy-signals-send
ypy-signals
|
Asks for the signals in scope to go with the requests of this element. Signals are sent only when asked: with this attribute on the element, with
|
ypy-sort
ypy-sort
|
On a list container: its children that have an
|
ypy-sort-url
ypy-sort
|
The URL that gets a POST when an item is dropped in a new place: the field |
ypy-sse:connect
ypy-sse
|
Opens a Server-Sent Events stream with a GET request to the URL. The element connects on its |
ypy-sse:close
ypy-sse
|
Closes the stream when a message with this event name arrives. Without it the stream ends when the element is removed or the server closes it. |
ypy-sse-connect
ypy-sse
deprecated
|
Legacy spelling of Deprecated. Use ypy-sse:connect. |
ypy-sse-close
ypy-sse
deprecated
|
Legacy spelling of Deprecated. Use ypy-sse:close. |
ypy-sse-swap
ypy-sse
deprecated
|
No longer supported. Unnamed SSE messages are swapped automatically and named events are dispatched as DOM events. The extension only warns in the console. Deprecated. Remove it: unnamed messages are swapped automatically, named events are DOM events. |
ypy-stream
ypy-stream
|
Opens a stream of the YPY streaming protocol (Server-Sent Events) with a GET request to the URL and applies its events: |
ypy-stream.post
ypy-stream
|
Like |
ypy-stream.put
ypy-stream
|
Like |
ypy-stream.patch
ypy-stream
|
Like |
ypy-stream.delete
ypy-stream
|
Like |
ypy-switch
ypy-switch
|
Shows this part of a form only while a rule about a field holds, with no request: |
ypy-targets
ypy-targets
|
Swaps the same response content into every element matching the selector, instead of the single target. |
ypy-upload-progress
ypy-upload
|
Reports the progress of a file upload. A request whose multipart body holds a file that is not empty is sent with XMLHttpRequest and fires
|
ypy-validate-fields
ypy-validate
|
Checks every field inside this element on the server when the user leaves it: a POST with the form values and the |
ypy-validate-trigger
ypy-validate
|
When a field is checked: a trigger specification. Default |
ypy-validate-batch
ypy-validate
|
Sends the fields of one form that ask the same URL within a short window in a single request, with
|
ypy-ws:connect
ypy-ws
|
Opens a WebSocket to the URL when the element's |
ypy-ws:send
ypy-ws
|
Sends the element's values over the WebSocket of the nearest |
ypy-ws-connect
ypy-ws
deprecated
|
Legacy spelling of Deprecated. Use ypy-ws:connect. |
ypy-ws-send
ypy-ws
deprecated
|
Legacy spelling of Deprecated. Use ypy-ws:send. |
Additional attributes
Extensions bring their own attributes, such as ypy-poll, ypy-validate-fields, ypy-sse:connect, ypy-signals and
ypy-layer. They work only when the extension is loaded, and they appear in the table above with the extension that
adds them. A page for each extension explains its attributes with examples: see Extensions.
CSS classes
The classes YPY writes on elements during a request, a swap and a connection loss, and the classes of the optional
ypy.css. The names can be changed with config.classes.
| Name | What it does |
|---|---|
ypy-request
|
Applied to the requesting element and to its indicators while a request is in flight. |
ypy-swapping
|
Applied to a target during the swap delay, then removed when the content is inserted. |
ypy-settling
|
Applied to a target during the settle phase, then removed after it completes. |
ypy-added
|
Applied to newly inserted content before it settles, then removed. |
ypy-indicator
|
Default indicator class, hidden by YPY CSS until a containing or matching element receives |
ypy-offline
|
Applied to |
ypy-progress
|
A fixed bar at the top of the page, styled by |
ypy-fade
|
Opt-in transition of |
ypy-fade-in
|
Opt-in transition of |
ypy-revalidating
ypy-cache
|
Applied to the target of a request while the extension checks with the server a copy it already showed. |
ypy-layer-opener
ypy-layers
|
Put on the element that opened a popup while the popup is open, so the default style can anchor the popup below it. |
ypy-current
ypy-nav
|
Added, with |
ypy-optimistic
ypy-optimistic
|
Applied to the optimistic nodes while the request is in flight. |
ypy-pending
ypy-pending
|
Applied to the placeholder element inserted by |
ypy-dirty
ypy-signals
|
Applied to a signals scope while a client-owned signal differs from its last saved value. The scope also gets |
ypy-field-error
ypy-validate
|
Applied to the answer element the extension creates after a field when the page has none. |
Request headers
What the browser sends on every YPY request. The server reads YPY-Request to tell a fragment request from a page
load, and sends Vary: YPY-Request when one URL answers both.
| Name | What it does |
|---|---|
YPY-Request
|
Always |
YPY-Source
|
The element that triggered the request. |
YPY-Target
|
The element the response is swapped into. |
YPY-Current-URL
|
The current URL of the browser. |
YPY-Request-Type
|
|
YPY-Boosted
|
Present when the request comes from |
YPY-History-Restore-Request
|
Present when the request restores a page after back or forward. The server should answer with a whole page. |
YPY-Layer
ypy-layers
|
Sent with every request that fills a layer or starts inside one: the kind of layer ( |
YPY-Lazy-Group
ypy-lazy
|
The name of the group on the request that loads several lazy regions at once. The |
YPY-Last-Part-ID
ypy-multipart
|
Sent on a reconnect: the id ( |
YPY-Native
ypy-native
|
Sent on every same-origin YPY request of a native app: the platform, the bridge version and the native components the installed build knows. Decide on |
YPY-Purpose
ypy-nav
|
Sent with every prefetch, with |
YPY-Prompt
ypy-prompt
|
The answer the user gave to |
YPY-PTag
ypy-ptag
|
The current polling tag of the element, from |
YPY-Validate
ypy-validate
|
Sent by a field check with the name of the field. With batching on ( |
Response headers
What the server can send back to change the target, the swap, the address or the page. A header here wins over the attribute of the element that sent the request.
| Name | What it does |
|---|---|
YPY-Trigger
|
Fires client-side events after the response. A single name, a comma separated list, or a JSON object of event names and details. |
YPY-Push-Url
|
Pushes a URL into the browser history. It overrides the history attributes of the element. |
YPY-Replace-Url
|
Replaces the current history entry. It overrides the history attributes of the element. |
YPY-Redirect
|
Redirects the browser with a full page load. |
YPY-Location
|
Navigates to a URL with an AJAX request, without a full reload. It also takes a JSON object with |
YPY-Refresh
|
Reloads the page when the value is |
YPY-Retarget
|
Overrides the target of the swap with a CSS selector. |
YPY-Reswap
|
Overrides the swap style of the response. |
YPY-Reselect
|
Overrides |
YPY-Group
|
Makes the swap all or nothing when the value is |
YPY-Cache-Expire
ypy-cache
|
Marks old the stored copies whose path or tag matches a pattern: a comma separated list of paths, globs and tags ( |
YPY-Cache-Evict
ypy-cache
|
Deletes the stored copies whose path or tag matches a pattern: a comma separated list of paths, globs and tags ( |
YPY-Commands
ypy-commands
|
A JSON list of typed client commands that run after the response was swapped, with no eval. Each command has a |
YPY-CSRF
ypy-csrf
|
A new CSRF token. A same-origin response that carries it replaces the content of the |
YPY-Download
ypy-download
|
Makes the extension fetch the given URL and save it as a download, for backends that cannot stream the file as the YPY response itself. |
YPY-Open-Layer
ypy-layers
|
Opens a layer instead of swapping the response. A JSON object with |
YPY-Part-ID
ypy-multipart
|
Part header: identifies the part. Once the part and all the parts before it were handled, its value becomes the next |
YPY-Swap
ypy-multipart
|
Part or response header: the swap style for this part (the whole stream when set on the response). |
YPY-Select
ypy-multipart
|
Part or response header: the selector of the content to swap for this part. |
YPY-Push
ypy-multipart
|
Alias of |
YPY-Poll-Interval
ypy-poll
|
Sets the interval of the polling of the element that sent the request, from the next poll on. It stays until another response changes it. |
YPY-PTag
ypy-ptag
|
Stores a new polling tag on the element; it is sent back with the next request. |
Events
Every step of a request, a swap and a history change fires a DOM event named ypy:<phase>:<verb>. The table says on
which element each one fires, what its detail holds and whether preventDefault() cancels it.
| Name | What it does |
|---|---|
ypy:before:process
cancelable
|
Fires before YPY processes a DOM node or subtree. Cancel it to leave the subtree unprocessed. |
ypy:after:process
|
Fires after YPY processed a DOM node or subtree. |
ypy:before:init
cancelable
|
Fires before YPY attaches its internal data to an element. Cancel it to leave the element alone. |
ypy:after:init
|
Fires after an element has all its YPY behaviors and listeners. |
ypy:before:on:init
cancelable
|
Fires before YPY binds the |
ypy:before:cleanup
|
Fires before YPY removes listeners and internal data from an element, on removal during a swap or before reprocessing. It reaches only elements YPY processed, that is, elements with a |
ypy:after:cleanup
|
Fires after YPY removed the listeners and internal data of an element. Like |
ypy:confirm
cancelable
|
Fires when an element with |
ypy:config:request
cancelable
|
Fires after the request values are collected and validated, before encoding and sending. Change |
ypy:before:request
cancelable
|
Fires right before |
ypy:before:response
cancelable
|
Fires once the response headers arrive, before the body is read. |
ypy:after:request
cancelable
|
Fires after the response body was read, before the swap. |
ypy:response:error
|
Fires when the server answers with status 400 or more. It does not fire for network errors; use |
ypy:error
|
Fires when an exception ends the request or the swap. It does not fire for HTTP 4xx or 5xx. |
ypy:finally:request
|
Fires when a request completes, fails or is cancelled. It does not fire when processing stops before the request starts. |
ypy:before:swap
cancelable
|
Fires after the response is parsed and before it is inserted. |
ypy:after:swap
|
Fires once per swap, after every task of the response has inserted its content, settled it ( |
ypy:finally:swap
|
Fires at the end of the swap lifecycle, whether it succeeded or failed. |
ypy:before:settle
|
Fires after new content is inserted and before CSS transitions are applied. Change |
ypy:after:settle
|
Fires after the settle phase of one task, including every CSS transition, once per swapped target (the main swap, each out-of-band element and each partial). It fires before the new content is processed and before |
ypy:before:viewTransition
cancelable
|
Fires before a View Transition starts, when |
ypy:after:viewTransition
|
Fires after a View Transition finished. |
ypy:before:history:update
cancelable
|
Fires before |
ypy:after:history:update
|
Fires after |
ypy:after:history:push
|
Fires after a new history entry was created. |
ypy:after:history:replace
|
Fires after the current history entry was replaced. |
ypy:before:history:restore
cancelable
|
Fires when the user navigates back or forward, before the page is restored. Cancel it to restore by hand. Extensions such as |
ypy:history:restore:fragment
|
Fires when a history restore got something that is not a whole page. The page is reloaded right after. Turn the safety net off with |
ypy:abort
|
Control event: dispatch it on an element to abort its request in flight. YPY listens to it; it does not fire it. |
ypy:request:queued
|
A request waits behind the one in flight ( |
ypy:request:dropped
|
A request that never ran was discarded; |
ypy:request:aborted
|
The request in flight was aborted before its response; |
ypy:offline
|
The browser went offline: |
ypy:online
|
The connection came back, or a response proved it. Fires on |
ypy:announce
cancelable
|
Fires on the source element just before a message goes into the live region. A listener may change |
ypy:target:fallback
|
The main target selector matched nothing and the chain |
ypy:target:missing
cancelable
|
No target was found for a main swap, an out-of-band element or a partial. Cancel it to silence the console warning. |
ypy:swap:error
|
A swap task failed while the others went on. Fires once per failed task, before |
ypy:security:blocked
|
Author code ( |
ypy:before:oob
cancelable
|
Extension hook ( |
ypy:scope
|
Extension hook: runs before author code is compiled, so an extension can add names to its scope or rewrite |
ypy:before:morph:node
cancelable
|
Extension hook: runs for each pair of nodes a morph matches. Return |
ypy:before:morph:attr
cancelable
|
Extension hook: runs for each attribute a morph is about to set or remove. Return |
ypy:resolve:target
|
Extension hook ( |
ypy:dispose
|
Extension hook ( |
ypy:process:*
|
Extension hook family: |
ypy:ready
ypy-boot
|
Fires once on |
ypy:cache:hit
ypy-cache
|
A stored copy answers the request. |
ypy:cache:revalidated
ypy-cache
|
The check that follows a shown copy ended. |
ypy:cache:expire
ypy-cache
|
Copies were marked old by a |
ypy:cache:evict
ypy-cache
|
Copies were deleted by a |
ypy:before:command
ypy-commands
cancelable
|
Fires on the element that sent the request before one command of |
ypy:commands:ignored
ypy-commands
|
Fires on the element that sent the request when a command, or the whole list, of |
ypy:security:strip
ypy-csp
|
Fires on an element after |
ypy:security:violation
ypy-csp
|
Fires when |
ypy:csrf:missing
ypy-csrf
cancelable
|
An unsafe (not GET or HEAD) request to the page's own origin is about to leave without a CSRF token: the |
ypy:dedupe:joined
ypy-dedupe
|
Fires on the source element when its GET request joined an identical request that was already in flight, so only one request goes to the network. |
ypy:dev:message
ypy-dev
|
Fired by the development extension for every message it writes to the console (an error with context, a warning for incorrect or legacy use, a reload, a POST, PUT, PATCH or DELETE cut by |
ypy:download:start
ypy-download
|
Fires on the source element when a download begins streaming. |
ypy:download:progress
ypy-download
|
Fires on the source element for every chunk received, for progress bars. |
ypy:download:complete
ypy-download
|
Fires on the source element after the file was handed to the browser as a download. |
ypy:head:before:merge
ypy-head
cancelable
|
Fires on |
ypy:head:before:add
ypy-head
cancelable
|
Fires before a new element is appended to |
ypy:head:before:remove
ypy-head
cancelable
|
Fires before an element is removed from |
ypy:head:after:merge
ypy-head
|
Fires after the head was merged, with the elements that were added, kept and removed. |
ypy:history:cache:before:save
ypy-history-cache
cancelable
|
Fires on |
ypy:history:cache:after:save
ypy-history-cache
|
Fires on |
ypy:history:cache:before:restore
ypy-history-cache
|
Fires on |
ypy:history:cache:after:restore
ypy-history-cache
|
Fires on |
ypy:history:cache:hit
ypy-history-cache
cancelable
|
Fires on |
ypy:history:cache:miss
ypy-history-cache
|
Fires on |
ypy:layer:before:open
ypy-layers
cancelable
|
Fires on the opener (or on the document for a call of |
ypy:layer:opened
ypy-layers
|
Fires on the dialog once its content is in and it is shown, with the focus inside. |
ypy:layer:before:close
ypy-layers
cancelable
|
Fires on the dialog before it closes, by accept or dismiss. Cancel it to keep the layer open (for example, unsaved changes). |
ypy:layer:accepted
ypy-layers
|
Fires on the dialog, still in the page, when the layer is accepted. |
ypy:layer:dismissed
ypy-layers
|
Fires on the dialog, still in the page, when the layer is dismissed. |
ypy:lazy:error
ypy-lazy
|
A region with |
ypy:lazy:group
ypy-lazy
|
Fires on the first region of a batch just before the group request is sent. |
ypy:list:pruned
ypy-list
|
Fires on the list after a swap with |
ypy:multipart:before:connection
ypy-multipart
cancelable
|
Fires before a multipart connection is used, and again before each reconnect. Cancel it, or set |
ypy:multipart:after:connection
ypy-multipart
|
Fires when a multipart response was accepted, on the first connection and after each successful reconnect. |
ypy:multipart:before:part
ypy-multipart
cancelable
|
Fires for each part before it is handled. Cancel it, or set |
ypy:multipart:after:part
ypy-multipart
|
Fires after a part was swapped or its header actions ran. The part id then counts as received for reconnects. |
ypy:multipart:error
ypy-multipart
|
Fires when a connection attempt, a reconnect or the parsing of the stream fails. |
ypy:multipart:close
ypy-multipart
|
Fires once when the connection is cleaned up. |
ypy:native:event
ypy-native
cancelable
|
Fires on the element of a native component when the shell sends an event for it. Cancel it to stop the default, which is a click for |
ypy:native:before:visit
ypy-native
cancelable
|
Fires on the source element before a visit is handed to the shell. Cancel it to keep the navigation in the page. |
ypy:native:navigate
ypy-native
cancelable
|
Asks the page to navigate its main content. The shell takes it as a visit; a browser swaps the page. The server sends it with |
ypy:optimistic:applied
ypy-optimistic
cancelable
|
The optimistic change was made. Cancel it to undo the change at once. |
ypy:optimistic:confirmed
ypy-optimistic
|
The server accepted the request. The server's content replaces the optimistic one where they meet; elsewhere the optimistic content stays. |
ypy:optimistic:rolledback
ypy-optimistic
|
The page was put back: |
ypy:track:reload
ypy-persist
cancelable
|
A page response carries other |
ypy:poll:stop
ypy-poll
|
Fires on the element when a response with status |
ypy:prompt
ypy-prompt
cancelable
|
Fires on the element after the user answered. Cancel it to abort the request. |
ypy:request:retry
ypy-retry
cancelable
|
Fires on the source element before a failed request is repeated, after |
ypy:signals:patch
ypy-signals
cancelable
|
Fires before a merge patch is applied to the signals, whether it came from a JSON response or from |
ypy:signals:readonly
ypy-signals
|
Fires when a write to a read-only signal (server-owned or computed) was refused. |
ypy:signals:error
ypy-signals
|
Fires when an expression did not parse, a handler or effect threw, or a patch was not usable. The attribute that failed does nothing and the rest of the page keeps working. |
ypy:sort:change
ypy-sort
cancelable
|
Fires on the container when an item was put down in a new place, before the order is sent. Cancel it to put the list back. |
ypy:sort:revert
ypy-sort
|
Fires on the container after the list was put back in its old order: the change was cancelled, the server refused it or did not answer, or the drag was abandoned. |
ypy:sse:before:connection
ypy-sse
cancelable
|
Fires before a connection is made, and again before each reconnect attempt. Call |
ypy:sse:after:connection
ypy-sse
|
Fires when a response with |
ypy:sse:before:message
ypy-sse
cancelable
|
Fires for each parsed message before it is used. Cancel it, or set |
ypy:sse:after:message
ypy-sse
|
Fires after a message was swapped, or after its named event was dispatched on the element. |
ypy:sse:error
ypy-sse
|
Fires when a connection attempt or the stream fails. |
ypy:sse:close
ypy-sse
|
Fires once when the connection is cleaned up. |
ypy:release
ypy-sse
|
Named SSE event a server can send to release the request early (the queue slot and the indicators) while the stream stays open. It is dispatched on the element like any named event. |
ypy:stream:open
ypy-stream
|
A connection delivered its headers and is being read, the first time or after a reconnection. |
ypy:stream:reconnect
ypy-stream
|
The client is about to wait |
ypy:stream:close
ypy-stream
|
The stream ended for good. |
ypy:stream:error
ypy-stream
|
An event failed, or the read broke; after a read error the client reconnects. |
ypy:stream:signals
ypy-stream
|
A signals patch arrived and the signals extension is not loaded, so the page can apply it itself. |
ypy:stream:refresh
ypy-stream
cancelable
|
A |
ypy:stream:pause
ypy-stream
|
The tab went to the background and the stream, which has |
ypy:stream:resume
ypy-stream
|
The tab is visible again and the stream that was paused opens its connection now, with |
ypy:switch
ypy-switch
|
Fires on a part with |
ypy:telemetry:error
ypy-telemetry
|
Fires for every failure of the page, whatever its source: a network failure, a timeout, a lost connection, a response with status 400 or more, a target that matches nothing, a swap that failed or was refused, an error of an extension. |
ypy:test:idle
ypy-test
|
Fires on the document when a |
ypy:upload:progress
ypy-upload
|
Fires on the source element while a file is sent. |
ypy:ws:before:connection
ypy-ws
cancelable
|
Fires before a socket is created, and again before each reconnect. Call |
ypy:ws:after:connection
ypy-ws
|
Fires when the socket opens. Queued outgoing messages are sent right after it. |
ypy:ws:close
ypy-ws
|
Fires when the socket closes. |
ypy:ws:error
ypy-ws
|
Fires on a socket error, a failed send, a full outgoing queue, or a send with no open connection. |
ypy:ws:before:message:outgoing
ypy-ws
cancelable
|
Fires before a message is sent. Edit |
ypy:ws:after:message:outgoing
ypy-ws
|
Fires after a message was written to the socket. |
ypy:ws:before:message:incoming
ypy-ws
cancelable
|
Fires when a message arrives, before it is swapped. Cancel it, or set |
ypy:ws:after:message:incoming
ypy-ws
|
Fires after an incoming message was processed and any content swapped. |
JavaScript API
Most pages never call the ypy object, because attributes do the work. Use it to start a request from a script, to
listen to events, to tell YPY about HTML you inserted, or to test the page.
ypy.ajax("GET", "/items", "#list");
ypy.ajax("POST", "/save", { target: "#result", swap: "outerHTML", values: { id: 7 } });Configuration
Settings live in ypy.config. Set them from a script or, before the core loads, from a <meta name="ypy-config"> tag
that holds JSON. The prefix key only counts when it is set before the core loads.
<meta name="ypy-config" content='{"history": false, "defaultTimeout": 10000}'>| Name | What it does |
|---|---|
logAll
|
Logs every YPY event to the console. |
prefix
|
Adds one more attribute prefix. |
transitions
|
Uses the View Transitions API for swap animations. |
history
|
Controls history management: |
mode
|
The fetch |
defaultSwap
|
The swap style used when |
defaultFocusScroll
|
Scrolls the focused element into view after each swap. |
defaultSettleDelay
|
Delay in milliseconds between the swap and the settle phases. |
defaultTimeout
|
Default request timeout in milliseconds. |
classes
|
State classes, one entry per state, each a space separated list. Set an entry to replace it. |
classes.request
|
Applied to the indicators of the request while it runs (the requesting element, unless |
classes.swapping
|
Applied to the swap target between the start of the swap and the swap itself. |
classes.settling
|
Applied to the swap target while it settles. |
classes.added
|
Applied to freshly swapped content until it settles. |
classes.indicator
|
Applied to elements that show only during a request. |
classes.error
|
Added to the error target after a response of 400 or more was swapped. There is no default class: |
classes.offline
|
Applied to |
includeIndicatorCSS
|
Includes the built-in CSS of the indicator class. |
inlineScriptNonce
|
The |
extensions
|
Comma separated list of the extensions allowed to register. Empty allows all. |
morphIgnore
|
Attribute name prefixes a morph leaves alone. |
morphScanLimit
|
How many siblings a morph scans when it matches nodes. |
morphSkip
|
Selector of the elements a morph skips entirely. |
morphSkipChildren
|
Selector of the elements whose children a morph freezes. Their attributes still update. |
morphThirdParty
|
Selector of the elements a script other than YPY owns, besides every custom element. A morph keeps the children of such an element when the response gives it empty, unless it carries |
autofocus
|
Focuses the |
noSwap
|
HTTP status codes for which YPY does not swap content. |
metaCharacter
|
Replaces |
allowEmptySwapAfterOOB
|
Runs the main swap when the response held only out-of-band elements. |
targetFallback
|
What happens when a target selector matches nothing: |
ariaBusy
|
Marks the target |
announce
|
Announcements through the managed live region. Unset means on; |
announce.clearAfter
|
Milliseconds before the live region is emptied. |
announce.messages
|
Texts for the live region. The core carries none: a message that is not set says nothing. |
announce.messages.loading
|
Said when a request starts. |
announce.messages.done
|
Said when a request ends and its response was swapped. |
announce.messages.offline
|
Said when a request failed for lack of a connection. |
announce.messages.error
|
Said when a request failed for any other reason. |
callbacks
|
What author code ( |
scripts
|
What happens to the |
selfRequestsOnly
deprecated
|
Alias of Deprecated. Use mode. |
historyRestore
|
Options of the request that restores a page from history. |
historyRestore.cache
|
The fetch |
historyRestore.fragment
|
Reloads the page when a restore gets something that is not a whole page, instead of swapping the fragment. On by default. |
boostBrowserIndicator
ypy-browser-indicator
|
Show the browser indicator for every boosted element, without writing |
cache
ypy-cache
|
Defaults for |
cache.all
ypy-cache
|
Cache every GET of the page, not only the elements with |
cache.ttl
ypy-cache
|
A copy older than this is not shown, only revalidated. |
cache.fresh
ypy-cache
|
A copy younger than this is shown without asking the server. |
cache.private
ypy-cache
|
Also keep responses marked |
cache.offline
ypy-cache
|
Keep copies in |
cache.size
ypy-cache
|
Most copies held. |
cache.bytes
ypy-cache
|
Most characters of response text held. |
commands
ypy-commands
|
Settings of the |
commands.max
ypy-commands
|
Most commands a |
nonce
ypy-csp
|
Requires the |
safeEval
ypy-csp
|
Replaces |
dedupe
ypy-dedupe
|
Settings of the sharing of identical GET requests. |
dedupe.ignore
ypy-dedupe
|
Names of the request headers that do not make two requests different (compared without regard to case). Every other header must be equal for the requests to be shared. |
dev
ypy-dev
|
Options of the development extension |
dev.latency
ypy-dev
|
Simulated latency in milliseconds, or |
dev.offline
ypy-dev
|
Start with the simulated offline state on. |
dev.reload
ypy-dev
|
Reload the page when a template changes: |
dev.lint
ypy-dev
|
|
dev.log
ypy-dev
|
|
dev.overlay
ypy-dev
|
Show a panel with the status, the URL, the start of the response and the element when a request fails; Esc closes it. On by default only on a development host ( |
dev.docs
ypy-dev
|
Base URL of the guide pages that the legacy warnings link to. |
inert
ypy-disable
|
Makes the target of every request |
historyCache
ypy-history-cache
|
Options of the history cache extension. |
historyCache.size
ypy-history-cache
|
How many pages are kept in |
historyCache.refreshOnMiss
ypy-history-cache
|
Reload the page on back or forward when it is not in the cache. |
historyCache.disable
ypy-history-cache
|
Turn the cache off without unloading the extension. |
historyCache.swapStyle
ypy-history-cache
|
Swap style used to put the cached content back. |
historyCache.encrypt
ypy-history-cache
|
Seal the pages kept in |
inspector
ypy-inspector
|
Options of the inspector panel |
inspector.open
ypy-inspector
|
Show the panel at start. |
inspector.key
ypy-inspector
|
The shortcut that opens and closes the panel: modifiers ( |
inspector.max
ypy-inspector
|
Rows kept in each list; the oldest go first. |
layers
ypy-layers
|
Defaults of the ypy-layers extension. |
layers.style
ypy-layers
|
|
layers.scrollLock
ypy-layers
|
|
layers.outside
ypy-layers
|
Whether a click outside a layer dismisses it. |
layers.escape
ypy-layers
|
Whether Esc dismisses a layer. |
layers.history
ypy-layers
|
Whether layers show their URL in the address bar by default. |
layers.classes
ypy-layers
|
Classes added to the dialog of each kind ( |
lazy
ypy-lazy
|
Settings of lazy regions. |
lazy.margin
ypy-lazy
|
How far outside the window a region is loaded, as a CSS margin. |
lazy.window
ypy-lazy
|
How long a region of a group waits for the others to come into view before the group is requested, in milliseconds or as a time such as |
live
ypy-live
|
Settings of the ypy-live extension. |
live.inputDebounce
ypy-live
|
Debounces |
live.bindPrefix
ypy-live
|
Short binding prefix: |
live.useDollar
ypy-live
|
Adds |
locked
ypy-lock
|
Set |
announce.stream
ypy-model
|
|
announce.messages.answerStart
ypy-model
|
Said when a model answer starts. |
announce.messages.answerReady
ypy-model
|
Said when a model answer is finished (also the text of the |
announce.messages.answerStopped
ypy-model
|
Said, assertive, when a model answer was stopped. |
announce.messages.answerFailed
ypy-model
|
Said, assertive, when a model answer failed. |
multipart
ypy-multipart
|
Defaults of the ypy-multipart extension. A single request overrides them with |
multipart.reconnect
ypy-multipart
|
Reconnect after the stream ends or fails. The default is |
multipart.reconnectDelay
ypy-multipart
|
Wait before the first reconnect, in ms or as an interval string. The wait doubles on each attempt up to |
multipart.reconnectMaxDelay
ypy-multipart
|
Longest wait between two reconnect attempts, in ms or as an interval string. |
multipart.reconnectMaxAttempts
ypy-multipart
|
How many consecutive reconnect attempts are made before giving up. Unlimited by default. |
multipart.reconnectJitter
ypy-multipart
|
Random spread applied to each reconnect delay, as a fraction of the delay (0.3 is plus or minus 30%). |
multipart.connectTimeout
ypy-multipart
|
Timeout of a connection attempt, in ms or as an interval string. |
multipart.pauseOnBackground
ypy-multipart
|
Close the connection while the tab is hidden and reconnect when it is visible again. The default is |
native
ypy-native
|
Defaults of the ypy-native extension. |
native.path
ypy-native
|
The URL of the path configuration document, or |
native.web
ypy-native
|
Outside the app, open the routes whose path configuration says |
nav
ypy-nav
|
Settings of global boost and prefetch. |
nav.boost
ypy-nav
|
Navigate every link and form of the page with a request and a swap, with no attribute. Off when |
nav.prefetch
ypy-nav
|
When a link the page navigates is requested ahead of the click. |
nav.prefetchDelay
ypy-nav
|
Milliseconds of hover, or of keyboard focus, before the prefetch starts. |
nav.prefetchTtl
ypy-nav
|
Milliseconds an unused prefetched response is kept. |
nav.prefetchMax
ypy-nav
|
Prefetched responses alive at once; the oldest is dropped. |
nav.prefetchParallel
ypy-nav
|
Prefetches in flight at once for the visibility mode. |
nav.current
ypy-nav
|
Mark the link to the current page with |
nav.settle
ypy-nav
|
Milliseconds a navigation (a boosted request, or one that pushes a history entry) waits for the requests the form being edited still has in flight, after the field in focus was blurred so its |
nav.confirmLeave
ypy-nav
|
Show the browser's own leave-this-page dialog ( |
nav.root
ypy-nav
|
CSS selector of the root of the app. A boosted response that is a whole page (it has a doctype, |
poll
ypy-poll
|
Default options of the smart polling for the whole page; the |
poll.min
ypy-poll
|
Shortest interval a |
preload
ypy-preload
|
Options of the preload extension. |
preload.autoBoost
ypy-preload
|
Preload boosted links without writing |
preload.boostTimeout
ypy-preload
|
How long a preloaded response stays valid for the automatic preload, in milliseconds or as |
preload.boostEvent
ypy-preload
|
Event that starts the automatic preload of boosted links and bare |
compositionTimeout
ypy-preserve
|
How long, in milliseconds, a swap waits for the end of an IME composition in a field its target contains. The swap goes on after that time even when the composition is still open. |
progress
ypy-progress
|
Settings of the progress bar. |
progress.delay
ypy-progress
|
Milliseconds a request waits before the bar shows. |
progress.all
ypy-progress
|
Show the bar for every request, not only navigations and elements with |
progress.label
ypy-progress
|
The accessible name of the bar. |
retry
ypy-retry
|
Default retry options for the whole page; the |
retry.attempts
ypy-retry
|
How many times a failed request is repeated. |
retry.on
ypy-retry
|
What counts as a failure: |
retry.delay
ypy-retry
|
Wait before the first repeat, in milliseconds or as |
retry.max
ypy-retry
|
Longest wait between two attempts, in milliseconds or as |
retry.backoff
ypy-retry
|
Each wait is this many times longer than the one before. |
retry.jitter
ypy-retry
|
How much each wait varies at random, as a fraction ( |
retry.methods
ypy-retry
|
Methods that are repeated, a space or comma separated string or an array of upper-case names. It can only narrow the safe methods. |
retry.unsafe
ypy-retry
|
Repeat every method, including POST, PUT, PATCH and DELETE. The server may have run the first attempt. |
signals
ypy-signals
|
Settings of the signals extension. |
signals.send
ypy-signals
|
Send the signals in scope with every same-origin request, with no attribute. |
classes.dirty
ypy-signals
|
Class added to a signals scope element while it holds unsaved changes. Set it to a space separated list to replace the default. |
sort
ypy-sort
|
Settings of sortable lists. |
sort.messages
ypy-sort
|
What the live region says while a list is sorted with the keyboard: |
sort.messages.grab
ypy-sort
|
What is said when a list item is picked up; |
sort.messages.move
ypy-sort
|
What is said when a picked up item is moved; |
sort.messages.drop
ypy-sort
|
What is said when an item is put down; |
sort.messages.cancel
ypy-sort
|
What is said when a pick up is cancelled with Escape; |
sort.messages.revert
ypy-sort
|
What is said when the list is put back after a refusal; |
sse
ypy-sse
|
Defaults of the ypy-sse extension. A single element overrides them with |
sse.reconnect
ypy-sse
|
Reconnect after the stream ends or fails. The default is |
sse.reconnectDelay
ypy-sse
|
Wait before the first reconnect, in ms or as an interval string. The wait doubles on each attempt up to |
sse.reconnectMaxDelay
ypy-sse
|
Longest wait between two reconnect attempts, in ms or as an interval string. |
sse.reconnectMaxAttempts
ypy-sse
|
How many consecutive reconnect attempts are made before giving up. Unlimited by default. |
sse.reconnectJitter
ypy-sse
|
Random spread applied to each reconnect delay, as a fraction of the delay (0.3 is plus or minus 30%). |
sse.connectTimeout
ypy-sse
|
Timeout of a connection attempt, in ms or as an interval string. |
sse.pauseOnBackground
ypy-sse
|
Close the stream while the tab is hidden and reconnect when it is visible again. The default is |
sse.heartbeat
ypy-sse
|
Close the stream and open it again when no byte arrives for this long, in ms or as an interval string such as |
sse.releaseOn
ypy-sse
|
When the request gives back its queue slot and indicators: |
stream
ypy-stream
|
Defaults of the ypy-stream extension. A single element overrides them with |
stream.pauseOnBackground
ypy-stream
|
Close the connection while the tab is in the background and open it again, at once and with |
stream.merge
ypy-stream
|
Merge consecutive |
stream.frame
ypy-stream
|
Apply the events of a stream one animation frame apart (at most 100 ms in a hidden tab), so a fast stream, such as the tokens of a model answer, costs one round of DOM work per frame. Off by default. |
test
ypy-test
|
Defaults of |
test.timeout
ypy-test
|
Milliseconds |
test.quiet
ypy-test
|
Milliseconds the page must stay without pending work before |
validate
ypy-validate
|
Settings of the field validation on the server. |
validate.batch
ypy-validate
|
The window, as a time, in which the fields of one form that ask the same URL go in a single request. Off by default; |
ws
ypy-ws
|
Defaults of the ypy-ws extension. A single element overrides them with |
ws.reconnect
ypy-ws
|
Reconnect after the socket closes with one of |
ws.reconnectCodes
ypy-ws
|
Close codes that trigger a reconnect. Any other code ends the connection. |
ws.reconnectDelay
ypy-ws
|
Wait before the first reconnect, in ms or as an interval string. The wait doubles on each attempt up to |
ws.reconnectMaxDelay
ypy-ws
|
Longest wait between two reconnect attempts, in ms or as an interval string. |
ws.reconnectMaxAttempts
ypy-ws
|
How many consecutive reconnect attempts are made before giving up. Unlimited by default. |
ws.reconnectJitter
ypy-ws
|
Random spread applied to each reconnect delay, as a fraction of the delay (0.3 is plus or minus 30%). |
ws.pauseOnBackground
ypy-ws
|
Close the socket while the tab is hidden and reconnect when it is visible again. |
ws.heartbeat
ypy-ws
|
Close the socket and open it again when no message arrives for this long, in ms or as an interval string such as |
ws.maxOutgoingMessagesQueueSize
ypy-ws
|
How many messages wait for the socket to open. A message sent when the queue is full fires |
ws.protocols
ypy-ws
|
Sub-protocols passed to the |
Editor support
ypy gen writes the data editors need from the same table of names: HTML custom data for VS Code, web-types for the
JetBrains IDEs, a JSON Schema for the configuration, and ypy.d.ts with the ypy object and a typed detail for every
event. With VS Code, point html.customData at ypy.html-data.json, and typing ypy- lists the attributes.
Extensions
The official extensions, with the attributes, events, headers, settings and classes each one adds. A page for every extension has the details and an example; how to load them and how to write your own are on the index page.
| Extension | Script | Adds |
|---|---|---|
ypy-alpine-compat
|
ext/ypy-alpine-compat.min.js |
behaviour only |
ypy-boot
|
ext/ypy-boot.min.js |
1 events |
ypy-browser-indicator
|
ext/ypy-browser-indicator.min.js |
1 attributes, 1 config keys |
ypy-cache
|
ext/ypy-cache.min.js |
2 attributes, 4 events, 2 headers, 8 config keys, 1 classes |
ypy-commands
|
ext/ypy-commands.min.js |
2 events, 1 headers, 2 config keys |
ypy-csp
|
ext/ypy-csp.min.js |
1 attributes, 2 events, 2 config keys |
ypy-csrf
|
ext/ypy-csrf.min.js |
1 events, 1 headers |
ypy-dedupe
|
ext/ypy-dedupe.min.js |
1 attributes, 1 events, 2 config keys |
ypy-dev
|
ext/ypy-dev.min.js |
1 events, 8 config keys |
ypy-disable
|
ext/ypy-disable.min.js |
2 attributes, 1 config keys |
ypy-download
|
ext/ypy-download.min.js |
3 events, 1 headers |
ypy-expr
|
ext/ypy-expr.min.js |
behaviour only |
ypy-head
|
ext/ypy-head.min.js |
1 attributes, 4 events |
ypy-history-cache
|
ext/ypy-history-cache.min.js |
1 attributes, 6 events, 6 config keys |
ypy-inspector
|
ext/ypy-inspector.min.js |
4 config keys |
ypy-layers
|
ext/ypy-layers.min.js |
13 attributes, 5 events, 2 headers, 7 config keys, 1 classes |
ypy-lazy
|
ext/ypy-lazy.min.js |
6 attributes, 2 events, 1 headers, 3 config keys |
ypy-list
|
ext/ypy-list.min.js |
1 attributes, 1 events |
ypy-live
|
ext/ypy-live.min.js |
2 attributes, 4 config keys |
ypy-lock
|
ext/ypy-lock.min.js |
1 config keys |
ypy-model
|
ext/ypy-model.min.js |
7 attributes, 5 config keys |
ypy-multipart
|
ext/ypy-multipart.min.js |
2 attributes, 6 events, 5 headers, 8 config keys |
ypy-native
|
ext/ypy-native.min.js |
5 attributes, 3 events, 1 headers, 3 config keys |
ypy-nav
|
ext/ypy-nav.min.js |
2 attributes, 1 headers, 11 config keys, 1 classes |
ypy-optimistic
|
ext/ypy-optimistic.min.js |
3 attributes, 3 events, 1 classes |
ypy-pending
|
ext/ypy-pending.min.js |
1 attributes, 1 classes |
ypy-persist
|
ext/ypy-persist.min.js |
2 attributes, 1 events |
ypy-poll
|
ext/ypy-poll.min.js |
1 attributes, 1 events, 1 headers, 3 config keys |
ypy-preload
|
ext/ypy-preload.min.js |
1 attributes, 4 config keys |
ypy-preserve
|
ext/ypy-preserve.min.js |
1 config keys |
ypy-progress
|
ext/ypy-progress.min.js |
1 attributes, 4 config keys |
ypy-prompt
|
ext/ypy-prompt.min.js |
1 attributes, 1 events, 1 headers |
ypy-ptag
|
ext/ypy-ptag.min.js |
1 attributes, 2 headers |
ypy-retry
|
ext/ypy-retry.min.js |
1 attributes, 1 events, 9 config keys |
ypy-scope
|
ext/ypy-scope.min.js |
1 attributes |
ypy-signals
|
ext/ypy-signals.min.js |
15 attributes, 3 events, 3 config keys, 1 classes |
ypy-sort
|
ext/ypy-sort.min.js |
2 attributes, 2 events, 7 config keys |
ypy-sse
|
ext/ypy-sse.min.js |
5 attributes, 7 events, 10 config keys |
ypy-stream
|
ext/ypy-stream.min.js |
5 attributes, 8 events, 4 config keys |
ypy-switch
|
ext/ypy-switch.min.js |
1 attributes, 1 events |
ypy-targets
|
ext/ypy-targets.min.js |
1 attributes |
ypy-telemetry
|
ext/ypy-telemetry.min.js |
1 events |
ypy-test
|
ext/ypy-test.min.js |
1 events, 3 config keys |
ypy-transitions
|
ext/ypy-transitions.min.js |
behaviour only |
ypy-upload
|
ext/ypy-upload.min.js |
1 attributes, 1 events |
ypy-upsert
|
ext/ypy-upsert.min.js |
behaviour only |
ypy-validate
|
ext/ypy-validate.min.js |
3 attributes, 1 headers, 2 config keys, 1 classes |
ypy-ws
|
ext/ypy-ws.min.js |
4 attributes, 8 events, 11 config keys |