UNPKG

formiojs

Version:

Common js library for client side interaction with <form.io>

8 lines (7 loc) 467 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = { form: "\n<{{input.type}} \n ref=\"button\" \n {% for (var attr in input.attr) { %}\n {{attr}}=\"{{input.attr[attr]}}\"\n {% } %}\n>\n{% if (component.leftIcon) { %}<span class=\"{{component.leftIcon}}\"></span>&nbsp;{% } %}\n{{input.content}}\n{% if (component.rightIcon) { %}&nbsp;<span class=\"{{component.rightIcon}}\"></span>{% } %}\n</{{input.type}}>\n" };