Web Component: j-Enterbox


  • Info
  • HTML
  • JS
  • CSS
  • Meta

j-Enterbox

A simple EnterBox. Each value needs to be confirmed via enter key or clicking on the button.

Configuration:

  • maxlength {Number} optional, a maximum length of value (default: 50)
  • icon {String} icon
  • placeholder {String} a placeholder for the input control
  • exec {String} optional, a link to a function in the window scope (otherwise data-jc-path is required)
  • button {String} adds a label to the button (default: empty)