Global

Methods

# convertHtmlToPlainText(html) → {string}

Convert HTML to plain text

Parameters:
Name Type Description
html string

View Source common/tools.js, line 454

The plain text

string

# createAttachment(config)

Shorthand to create a new File Uploader field. See kiss.ui.Attachment

Parameters:
Name Type Description
config object

View Source client/ui/fields/attachment.js, line 670

HTMLElement

# createBlock(config)

Shorthand to create a new Block. See kiss.ui.Block

Parameters:
Name Type Description
config object

View Source client/ui/containers/block.js, line 196

HTMLElement

# createButton(config)

Shorthand to create a new Button. See kiss.ui.Button

Parameters:
Name Type Description
config object

View Source client/ui/elements/button.js, line 385

HTMLElement

# createCalendar(config)

Shorthand to create a new Calendar. See kiss.ui.Calendar

Parameters:
Name Type Description
config object

View Source client/ui/data/calendar.js, line 1187

HTMLElement

# createChartView(config)

Shorthand to create a new Chart. See kiss.ui.Chart

Parameters:
Name Type Description
config object

View Source client/ui/data/chartview.js, line 1891

HTMLElement

# createCheckbox(config)

Shorthand to create a new Checkbox. See kiss.ui.Checkbox

Parameters:
Name Type Description
config object

View Source client/ui/fields/checkbox.js, line 508

HTMLElement

# createCodeEditor(config)

Shorthand to create a new Image. See kiss.ui.Image

Parameters:
Name Type Description
config object

View Source client/ux/codeEditor/codeEditor.js, line 461

HTMLElement

# createColorField(config)

Shorthand to create a new Color field. See kiss.ui.Color

Parameters:
Name Type Description
config object

View Source client/ui/fields/color.js, line 517

HTMLElement

# createColorPicker(config)

Shorthand to create a new ColorPicker. See kiss.ui.ColorPicker

Parameters:
Name Type Description
config object

View Source client/ui/fields/colorPicker.js, line 372

HTMLElement

# createDashboard(config)

Shorthand to create a new Dashboard. See kiss.ui.Dashboard

Parameters:
Name Type Description
config object

View Source client/ui/data/dashboard.js, line 991

HTMLElement

# createDatatable(config)

Shorthand to create a new Datatable. See kiss.ui.Datatable

Parameters:
Name Type Description
config object

View Source client/ui/data/datatable.js, line 4011

HTMLElement

# createDateField(config)

Shorthand to create a new date Field. See kiss.ui.Field

Parameters:
Name Type Description
config object

View Source client/ui/fields/field.js, line 725

HTMLElement

# createDialog(config)

Shorthand to create a new Dialog window. See kiss.ui.Dialog

Parameters:
Name Type Description
config object

View Source client/ui/elements/dialog.js, line 306

HTMLElement

# createField(config)

Shorthand to create a new Field. See kiss.ui.Field

Parameters:
Name Type Description
config object

View Source client/ui/fields/field.js, line 687

HTMLElement

# async createForm(record)

Create a form to display a record

Parameters:
Name Type Description
record object

record to display in the form

View Source client/ui/form/form.js, line 8

# createHtml(config)

Shorthand to create a new Html. See kiss.ui.Html

Parameters:
Name Type Description
config object

View Source client/ui/elements/html.js, line 166

HTMLElement

# createIconField(config)

Shorthand to create a new Icon field. See kiss.ui.Icon

Parameters:
Name Type Description
config object

View Source client/ui/fields/icon.js, line 497

HTMLElement

# createIconPicker(config)

Shorthand to create a new IconPicker. See kiss.ui.IconPicker

Parameters:
Name Type Description
config object

View Source client/ui/fields/iconPicker.js, line 393

HTMLElement

# createImage(config)

Shorthand to create a new Image. See kiss.ui.Image

Parameters:
Name Type Description
config object

View Source client/ui/elements/image.js, line 169

HTMLElement

# createKanban(config)

Shorthand to create a new Kanban. See kiss.ui.Kanban

Parameters:
Name Type Description
config object

View Source client/ui/data/kanban.js, line 1333

HTMLElement

# createList(config)

Shorthand to create a new List. See kiss.ui.List

Parameters:
Name Type Description
config object

View Source client/ui/data/list.js, line 460

HTMLElement

# createMenu(config)

Shorthand to create a new Menu. See kiss.ui.Menu

Parameters:
Name Type Description
config object

View Source client/ui/elements/menu.js, line 231

HTMLElement

# createNotification(config)

Shorthand to create a new Notification. See kiss.ui.Notification

Parameters:
Name Type Description
config object

View Source client/ui/elements/notification.js, line 112

HTMLElement

# createNumberField(config)

Shorthand to create a new number Field. See kiss.ui.Field

Parameters:
Name Type Description
config object

View Source client/ui/fields/field.js, line 715

HTMLElement

# createPanel(config)

Shorthand to create a new Panel. See kiss.ui.Panel

Parameters:
Name Type Description
config object

View Source client/ui/containers/panel.js, line 773

HTMLElement

# createPasswordField(config)

Shorthand to create a new password Field. See kiss.ui.Field

Parameters:
Name Type Description
config object

View Source client/ui/fields/field.js, line 735

HTMLElement

# createQRCode(config)

Shorthand to create a new QrCode. See kiss.ui.QrCode

Parameters:
Name Type Description
config object

View Source client/ux/qrcode/qrcode.js, line 132

HTMLElement

# createRating(config)

Shorthand to create a new Rating. See kiss.ui.Rating

Parameters:
Name Type Description
config object

View Source client/ui/fields/rating.js, line 489

HTMLElement

# createRegexFromString(input) → {RegExp}

Converts a string to a regex object.

Manage the case where the regex is defined with the /regex/flags syntax

Parameters:
Name Type Description
input string

View Source common/tools.js, line 426

The regex object

RegExp

# createSelect(config)

Shorthand to create a new Select field. See kiss.ui.Select

Parameters:
Name Type Description
config object

View Source client/ui/fields/select.js, line 1498

HTMLElement

# createSlider(config)

Shorthand to create a new Progress bar. See kiss.ui.Slider

Parameters:
Name Type Description
config object

View Source client/ui/fields/slider.js, line 475

HTMLElement

# createTextField(config)

Shorthand to create a new text Field. See kiss.ui.Field

Parameters:
Name Type Description
config object

View Source client/ui/fields/field.js, line 695

HTMLElement

# createTextareaField(config)

Shorthand to create a new textarea Field. See kiss.ui.Field

Parameters:
Name Type Description
config object

View Source client/ui/fields/field.js, line 705

HTMLElement

# createTimeline(config)

Shorthand to create a new Timeline. See kiss.ui.Timeline

Parameters:
Name Type Description
config object

View Source client/ui/data/timeline.js, line 2613

HTMLElement

# createTip(config)

Shorthand to create a new Tip. See kiss.ui.Tip

Parameters:
Name Type Description
config object

View Source client/ui/elements/tip.js, line 124

HTMLElement

# createWizardPanel(config)

Shorthand to create a new Wizard Panel. See kiss.ui.WizardPanel

Parameters:
Name Type Description
config object

View Source client/ui/containers/wizardPanel.js, line 338

HTMLElement

# getChartIcon(type) → {string}

Get the icon for a chart type

Parameters:
Name Type Description
type string

View Source common/global.js, line 99

icon

string

# getViewIcon(type) → {string}

Get the icon for a view type

Parameters:
Name Type Description
type string

View Source common/global.js, line 65

icon

string