Working with Web Standards
Why Web Standards Matter
The Aurelia Advantage
Fetch API
Basic Usage
Creating a Fetch Service
History API
Using History API Directly
Custom Events & EventTarget
Dispatching Custom Events
Listening to Custom Events
EventTarget for Service Communication
FormData API
Basic FormData Usage
Web Storage (localStorage & sessionStorage)
Storage Service with Type Safety
Usage Example: Persisting User Preferences
Intersection Observer API
Lazy Loading Images
Infinite Scroll
Resize Observer API
Responsive Chart Component
URL & URLSearchParams
Query String Service
Filtering with URL Parameters
Geolocation API
Location Service
Store Locator Example
Page Visibility API
Auto-Pause Video Player
Analytics Service
Clipboard API
Copy to Clipboard Component
Paste Handler
File API & Drag and Drop
Drag and Drop File Uploader
Canvas API
Signature Pad
Notification API
Notification Service
Usage in Components
Mutation Observer API
Content Change Detector
Web Animations API
Animated List Item
Direct DOM Access: No Virtual DOM, No Conflicts
Advanced Integration with Aurelia Features
Using task queue functions for Coordinated DOM Updates
Coordinating Multiple Async Operations
IEventAggregator for Web API Event Coordination
IObservation for Reactive Web API Integration
Creating Custom Attributes for Web APIs
Custom Attribute for IntersectionObserver
Platform Abstraction for Testable Web APIs
Combining TaskQueue, EventAggregator, and Web APIs
Direct DOM Manipulation with Aurelia's Observation
Additional Web Standards
Already Documented
Other Standards to Explore
Best Practices
Essential Practices
Advanced Patterns
Conclusion
Last updated
Was this helpful?