- jComponent
v19|v20
Configuration:
title {String}
form titleif {String}
condition for showing of the form, it's compared with the value within ofpath
icon {String}
Font-Awesome icon withoutti-
or new:ti ti-home
reload {String}
link to a globalfunction(fullform_component)
and it's executed if the form is displayingsubmit {String}
link to a globalfunction(hide)
and it's executed if the submit button is pressedcancel {String}
link to a globalfunction(hide)
and it's executed if the cancel button is pressedenter {Boolean}
capturesenter
key automatically and performs submit (default:false
)center {Boolean}
centers the form to middle of screenautofocus
{Boolean/String} can focus an input.String
===jQuery selector
for the inputdefault {String}
a short alias forDEFAULT(default, true)
closebutton {Boolean}
can hidex
button (default:false
)zindex {Number}
can affect z-index (default:12
)scrollbar {Boolean}
enables custom scrollbar (default:true
)scrolltop {Boolean}
enables scrolling to top after form is displayed (default:true
)scrollbarshadow {Boolean}
optional, enables a shadow in scrollbar (default:false
)style {Number}
supports two styles (1: classic (default), 2: full size without padding)closeoutside {Boolean}
closes the form when the user clicks outside of the form (default:false
)closeesc {Boolean}
closes the form when the user pressesESC
keyindependent {Boolean}
closing doesn't depent on the condition according to the pathclose {String}
link to a globalfunction()
and it's executed if the form is closinghide {String}
link to a globalfunction()
and it's executed if the form hides
Good to know:
The component moves the content of this component under <body>
tag (because of positioning) and it supports evaluation of the content of <script type="text/html">
. The example below contains a script with HTML and the component evaluates the content if the j-Form will be displayed (only once).
<ui-component name="fullform" path="path" config="config">
<script type="text/html">
A CONTENT
</script>
</ui-component>
- Peter Širka petersirka@gmail.com
- License