UNPKG

@qooxdoo/framework

Version:

The JS Framework for Coders

76 lines (61 loc) 1.74 kB
/* ************************************************************************ qooxdoo - the new era of web development http://qooxdoo.org Copyright: 2004-2011 1&1 Internet AG, Germany, http://www.1und1.de License: MIT: https://opensource.org/licenses/MIT See the LICENSE file in the project's top-level directory for details. Authors: * Tino Butz (tbtz) ************************************************************************ */ /** * The Row widget represents a row in a {@link Form}. */ qx.Class.define("qx.ui.mobile.form.Row", { extend: qx.ui.mobile.container.Composite, /* ***************************************************************************** CONSTRUCTOR ***************************************************************************** */ /** * @param layout {qx.ui.mobile.layout.Abstract?null} The layout that should be used for this * container */ construct(layout) { super(layout); this.initSelectable(); }, /* ***************************************************************************** PROPERTIES ***************************************************************************** */ properties: { // overridden defaultCssClass: { refine: true, init: "form-row" }, /** * Whether the widget is selectable or not. */ selectable: { check: "Boolean", init: false, apply: "_applyAttribute" } }, /* ***************************************************************************** MEMBERS ***************************************************************************** */ members: { // overridden _getTagName() { return "li"; } } });