UNPKG

@qooxdoo/framework

Version:

The JS Framework for Coders

91 lines (68 loc) 1.81 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 : function(layout) { this.base(arguments, 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 : function() { return "li"; } } });