May 6, 2024, 6 p.m. | Pavol

DEV Community dev.to




Element ui-plugin


Element ui-plugin has to be declared in HTML code and can be used for simplifying paths for components, ui-binds or other nested ui-plugins. The plugin can contain attributes path and config.



<ui-plugin path="userform" config="aclass:1;class:form">
<ui-component name="input" path="?.email" config="type:email;required:1" default="'@'">Email</ui-component>
<ui-component name="input" path="?.address.country" config="required:1" default="'Slovakia'">Country</ui-component>
<ui-component name="input" path="?.address.city" config="required:1" default="'Banská Bystrica'">City</ui-component>
</ui-plugin>


Here you can see the declared ui-plugin with path userform and in the configuration are keys aclass (this configuration key will add value from the path …

city class code components config country element email form frontend html javascript library path plugin plugins simplifying total totaljs type

Software Engineer for AI Training Data (School Specific)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Python)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Tier 2)

@ G2i Inc | Remote

Data Engineer

@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US