Web Component: j-MiniForm
j-MiniForm
- jComponent
v19|v20
Configuration:
title{String}form titlewidth{Number}form max-widthif{String}condition for showing of the form, it's compared with the value within ofßpathicon{String}Total icon withoutti-or new:ti ti-homereload{String}link to a globalfunction(miniform_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}capturesenterkey automatically and performs submit (default:false)center{Boolean}centers the form to middle of screenautofocus{Boolean/String} can focus an input.String===jQuery selectorfor the inputdefault{String}a short alias forDEFAULT(default, true)closebutton{Boolean}can hidexbutton (default:false)zindex{Number}can affect z-index (default:12)scrollbar{Boolean}enables custom scrollbar (default:true)closeoutside{Boolean}closes the form when the user clicks outside of the form (default:false)closeesc{Boolean}closes the form when the user pressesESCkeyindependent{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 closing- NEW
hide{String}link to a globalfunction()and it's executed if the form hides
Good to know:
New version of this component supports dynamic 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-MiniForm will be displayed (only once).
<ui-component name="miniform" path="path" config="config">
<script type="text/html">
A CONTENT
</script>
</ui-component>
Author
- Peter Širka petersirka@gmail.com
- License
Created
15. february 2020
Updated
11. february 2024
jComponent library
19 | 20
Version
v2
License
https://www.totaljs.com/license/
Dark mode
Yes
Responsive
Yes
Author
Peter Širka
Email
petersirka@gmail.com

