Web Component: j-Extend
j-Extend
- jComponent
v19|v20
This component is a specific component with powerful functionality. When the component is evaluated then it executes two events in the form below. The component can be helpful in web applications that can be dynamically extended.
Configuration:
name
{String}
A name for extend, the component will emitON('extend_' + name)
event
The component emits only two events that you can catch somewhere:
// NAME: is defined in the component configuration
ON('extend_NAME', function(opt) {
// opt.name {String} with a value according to the "config.name"
// opt.component {Instance of j-Extend}
// opt.element {jQuery element}
// opt.dom {Node}
});
ON('extend', function(opt) {
// opt.name {String} with a value according to the "config.name"
// opt.component {Instance of j-Extend}
// opt.element {jQuery element}
// opt.dom {Node}
});
Author
- Peter Širka petersirka@gmail.com
- License
Created
14. march 2021
Updated
18. june 2024
jComponent library
19 | 20
Version
v1
License
https://www.totaljs.com/license/
Responsive
Yes
Author
Pete Širka
Email
petersirka@gmail.com