← Back to site
← Previous Next →

Module 9: Advanced Controls ( Pro)

This final module covers the "Peripherals" and specialized vertical logic of the Unicorn P platform. These elements allow you to bridge the digital system with physical locations, hardware (scanners), and complex educational logic like the hfzb exam engine.


9.1 <up-leaflet-map>

Integrates a high-performance geographic mapping engine based on Leaflet. It is essential for logistics, branch management, or field service tracking.

Emmet code

// A map showing all company warehouse locations up-leaflet-map#main_map[lat="31.94" lng="35.92" zoom="12" api="sys_branch:map_data"]


9.2 <up-exam>

The flagship engine for the hfzb system. This is a high-stakes component that handles question delivery, timers, and cheating prevention logic.

Emmet code

// Starting a professional certification exam up-exam#exam_engine[exam-id="2024_FIN_01" duration="60" oncomplete="calculate_result"]


9.3 <up-scanner>

Provides hardware-level integration for Barcode and QR code scanning. It uses the device's camera or an attached USB scanner to input data directly into the active field.

Emmet code

// A scan-to-inventory tool up-text#item_code[label="Item Code"]+up-scanner[target="item_code" beep="true"]


9.4 <up-tooltip>

Enhances the user experience by providing non-intrusive, contextual help. In complex accounting screens, this explains what specific fields mean.

Emmet code

up-label[value="VAT Amount"](up-tooltip[text="Calculated as 16% of the net total"])


9.5 <up-errors>

A centralized hub for form validation. Instead of cluttering the UI with individual error messages, this element gathers all required and regex failures into one professional list.

Emmet code

// A validation summary at the top of a form up-errors#form_validation_summary[form="user_entry_form"]


Architect's Summary of the Unicorn P Library

With these 9 Modules and 70+ Elements, developers are provided with a complete toolkit. They no longer need to worry about the "How" of web development (CSS, HTML, Event Listeners). They only need to focus on the "What" (The Business Logic).