Web Component: j-Detach
j-Detach
- jComponent
v19|v20
The component can detach/attach all children (HTML elements). For example, if you have elements inside a panel, you can move the elements e.g., to the j-Windows
.
The component watch
path {Boolean}
and if the value contains true
, elements will be detached otherwise attached.
Configuration:
detach
{String}
a link to thefunction(children, element)
attach
{String}
a link to thefunction(children, element)
remove
{String}
a link to thefunction(children)
detach
is executed when the content is detachedattach
is executed when the content must be returned backremove
is executed when the component (or a parent element) is removed
Author
- Peter Širka petersirka@gmail.com
- License
Created
03. october 2022
Updated
25. january 2023
jComponent library
19, 20
Version
v1
License
https://www.totaljs.com/license/
Responsive
Yes
Author
Peter Širka
Email
petersirka@gmail.com