Web UI component: j-Parameters

  • Info
  • HTML
  • JS
  • CSS
  • Meta


This component can changed internal parameters.


  • dateformat {String} optional, a date format (default: yyyy-MM-dd)
  • search {String} optional, placeholder for search input (default: Search)
  • height {Number} optional, a height of the element (default: undefined)
  • parent {String} optional, jQuery selector for auto setup of height (can be window, parent or custom)
  • hidetype {Boolean} optional, hides type (default: false)
  • margin {Number} optional, vertical margin (default: 0)

Data declaration:

var form = [];
form.push({ name: 'user.firstname', label: 'First name', type: 'string', value: 'Peter Sirka' });
form.push({ name: 'user.age', type: 'number', value: 33, min: 18, max: 50 });
form.push({ name: 'user.birth', type: 'date', value: NOW });
form.push({ name: 'user.newsletter', type: 'boolean', value: true });

Allowed types in data:

  • string
  • boolean
  • number
  • date