Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
component.css
component.js
component.json
dependencies.html
example.html
picture.jpg
readme.md

readme.md

j-Parameters

This component can changed internal parameters.

Configuration:

  • 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

Author

You can’t perform that action at this time.