Web component: j-Window

  • Info
  • HTML
  • JS
  • CSS
  • Meta



Example: data-jc-config="title:Window title;if:user;icon:home"

  • title {String} window title
  • if {String} condition for showing of the window, it's compared with the value within of data-jc-path
  • icon {String} Font-Awesome icon without fa-
  • reload {String} link to a global function and it's executed if the form is showing
  • enter {Boolean} (optional) captures enter key automatically and performs submit (default: false)
  • autofocus {Boolean/String} (optional) can focus an input. String === jQuery selector for the input
  • default {String} (optional) a short alias for DEFAULT(default, true)
  • closebutton {Boolean} (optional) can hide x button (default: false)
  • NEW: zindex {Number} (optional) can affect z-index (default: 12)


Browser‘s Save action performs Preview