Web component: j-Panel


  • Info
  • HTML
  • JS
  • CSS
  • Meta

j-Panel

Configuration:

Example: data-jc-config="title:Panel 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)
  • width {Number} (optional) a default width of the panel (default: 300)

Author

Browser‘s Save action performs Preview