Web UI component: j-Edit
j-Edit
This component can edit elements with edit
class, in other words: the component executes only the method which can execute e.g. FloatingInput
, ColorPicker
, etc..
Configuration:
type {String}
event typeclick
ordblclick
(default)id {String}
attribute for obtaining of identifier, components browses all parent elements (default:data-id
)exec {String}
a link tofunction(meta, e)
which is executed if the user tries to edit elementmeta
contains all custom values from defines indata-edit
attributemeta.element
element which hasedit
classmeta.path
contains a path defined inj-Edit
componentmeta.component
contains an instance ofj-Edit
componentmeta.model
contains a value/object according to thecomponent.path
meta.event
contains click event objectmeta.id
contains an identifier according to theconfig.id
meta.parent
contains an element which containedconfig.id
data-edit
attribute can contains
exec {String}
a link tofunction(meta, e)
- or your custom values
key:value
in the form of jComponent configuration structure
Author
- Peter Širka petersirka@gmail.com
- License
Created
05. january 2021
Updated
not updated
Version
v1
License
https://www.totaljs.com/license/
Responsive
Yes
Author
Peter Širka
Email
petersirka@gmail.com
