Testing abxrlib-for-webxr.js

Navigation

← Back to Main Menu

Zero-Code XR Authentication

XR BY DEFAULT: Beautiful, VR/AR-optimized dialogs with virtual keyboards! No custom dialog HTML/CSS/JavaScript needed!

WORKS EVERYWHERE: Perfect in desktop browsers, mobile, and XR headsets - automatically adapts!

Custom Callback Examples: For developers who want to provide their own authentication UI
Click a button above to test the XR authentication dialog system
What makes XR dialogs special:
  • Zero Config: Just call Abxr_init() - XR dialog appears automatically
  • VR/AR Optimized: Beautiful in both desktop browsers and XR headsets
  • Smart Virtual Keyboard: Auto-detects device capabilities - shows keyboard for mobile/XR, hides for desktop
  • Keyboard Control: showVirtualKeyboard: true/false to override auto-detection
  • Smart UI: Handles email domains, PIN masking, error messages automatically
  • Fully Customizable: Colors, styling, and behavior - match your brand
  • Custom Callbacks: Developers can provide their own authentication UI
  • No HTML needed: Compare this page's HTML - no dialog code!
Developer Impact: This replaces ~100+ lines of custom dialog HTML/CSS/JavaScript with zero lines. XR-ready, beautiful by default, zero effort!

Send Events and Logs

Use these buttons to test sending events and debug logs after initialization:

Event Result:

Initialize first to enable

Log Debug Result:

Initialize first to enable

Assessment, Objective & Interaction Events

Test the specialized event types for LMS compatibility:

Assessment Events

Initialize first to enable

Objective Events

Initialize first to enable

Interaction Events

Initialize first to enable

Exit Polls

Test the Exit Polls functionality for user feedback collection:

👍👎 Thumbs Up/Down Poll

Initialize first to enable

⭐ Star Rating Poll

Initialize first to enable

📝 Multiple Choice Poll

Initialize first to enable