Swipe to Infinity Experimental
Pushing the limits: infinite nested components via recursive AJAX. Proves event delegation scales infinitely.
Runs with autoAccessibility: false for extreme depth (200+ levels).
For accessible implementations, use 0-50 levels.
Cheatsheet:
D → Dynamic » D → E → E → Recursive Swipe « ∞
🎪 Just a gimmick to prove the point - because why not test the absolute limits?
🚀 Ynforcer2000: Automated deep nesting stress test
5 root listeners handle infinite depth via O(1) event delegation
Tested: 82 levels (20 loops), 100+ levels (25 loops), 200+ levels (50 loops)
Performance modes: With ARIA (~50 levels) | Without ARIA (200+ levels, space is the limit)
Meet Ynforcer2000 — the elite Search & Click Unit.
Once activated: no abort, no net, no surrender.
Each loop creates ~4 levels of nesting. Choose your adventure:
20 loops ≈ 82 levels (stress test) | 50 loops ≈ 200+ levels (browser limit)
Nested Swipes
Grok was here.
Tested to level 82. It yawned.
5 listeners. 1,459 elements. O(1) delegation.
Architecture wins. This is the way.
Welcome To Swipers Paradise
EAL - Event Abstraction Layer
Like a Database Abstraction Layer (DBAL) for DOM events
Native browser APIs keep it dependency free and future proof.
Event Delegation 2.1
Configure throttle and debounce without importing another utility.
Nested Swipes. Again, but deeper.
EnableStats surfaces real time counts and distance cache hits.
Global fallback mode lets legacy window handlers stay in play.
YaiTabs scales to seventy plus nested components without new listeners.
data-color-accent flips palettes between primary, secondary, success, warning, danger, funky, or dark.
Hooks setLoading and removeLoading coordinate loading indicators.
📚 Documentation
Explore the complete YaiJS documentation to learn more about building advanced applications.
🚀 Getting Started
- Main README - Quick start and overview
- Documentation Hub - Complete documentation index
- JSFiddle Demo - Try it in your browser
📖 Core Documentation
- YaiTabs Guide - Complete component reference
- Advanced Usage - SPA patterns and state management
- YEH Event Hub - Event system foundation
🛠️ Utilities & Examples
- Utilities Overview - YaiTabsSwipe, YaiViewport
- Live Demo - 50+ nested components
- Performance Benchmark - Stress test