Yoyo Loading State Builder API
https://api.findutils.com/api/tools/yoyo-loading-state-builder/execute Build Yoyo PHP "yoyo:spinning" loading-state attributes and a ready-to-paste HTML snippet. Choose show/hide, add class, remove class, set attribute, or a combination, with optional delay and target actions.
Request body
application/json-
behavior
string optional
Loading behavior. Default: "show-hide". One of
show-hide · add-class · remove-class · set-attr · combination. Default"show-hide". -
class_name
string optional
CSS class for "add-class" or "remove-class" (e.g. "opacity-50").
-
attribute
string optional
Attribute for "set-attr" (e.g. "disabled").
-
use_delay
boolean optional
Add yoyo:spinning.delay. Default: false. Default
false. -
delay_ms
integer optional
Delay in milliseconds when use_delay is true. Default: 300. Default
300. -
target_actions
string optional
Comma-separated action names for yoyo:spin-on (e.g. "save,submit").
-
add_class_name
string optional
For "combination": class to add.
-
remove_class_name
string optional
For "combination": class to remove.
-
add_attribute
string optional
For "combination": attribute to set.
Example arguments
Verified{
"behavior": "add-class",
"class_name": "opacity-50",
"use_delay": true,
"delay_ms": 200
} More Text tools
- Bookmarks Diff Compare two Netscape bookmarks.html exports (before and after) and list the links that were added, removed, or changed.
- Case Convert Convert a string between camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE, Title Case, Sentence case, lower, UPPER.
- Citation Generator Generate a reference-list citation in APA 7, MLA 9, Chicago, or Harvard style for a book, website, journal, or article.
- Code Diff Checker Returns a line-by-line diff of two code snippets: each line marked added, removed or unchanged with its original and modified line numbers…
- Code Highlight Html Returns syntax-highlighted HTML for a code snippet: HTML-escaped text wrapped in <span style="color: ..."> elements using one of six colour…
- Dedupe Bookmarks Remove duplicate links from a Netscape bookmarks.html export (Chrome, Firefox, Edge, Safari) and return a clean bookmarks.html plus a CSV…