2011-08-21 15:24:20 +02:00
|
|
|
/**
|
2013-04-13 21:00:13 +02:00
|
|
|
* EGroupware eTemplate2 - JS HRule object
|
2011-08-21 15:24:20 +02:00
|
|
|
*
|
|
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
|
|
* @package etemplate
|
|
|
|
* @subpackage api
|
2021-06-07 17:33:53 +02:00
|
|
|
* @link https://www.egroupware.org
|
2011-08-21 15:24:20 +02:00
|
|
|
* @author Andreas Stöckel
|
|
|
|
*/
|
|
|
|
/*egw:uses
|
2020-02-10 14:36:09 +01:00
|
|
|
et2_core_baseWidget;
|
2011-08-21 15:24:20 +02:00
|
|
|
*/
|
2021-06-07 17:33:53 +02:00
|
|
|
import { et2_register_widget } from "./et2_core_widget";
|
|
|
|
import { et2_baseWidget } from "./et2_core_baseWidget";
|
|
|
|
import { ClassWithAttributes } from "./et2_core_inheritance";
|
2011-08-21 15:24:20 +02:00
|
|
|
/**
|
|
|
|
* Class which implements the hrule tag
|
2016-02-29 21:40:43 +01:00
|
|
|
*
|
2013-04-13 21:00:13 +02:00
|
|
|
* @augments et2_baseWidget
|
2016-02-29 21:40:43 +01:00
|
|
|
*/
|
2021-06-07 17:33:53 +02:00
|
|
|
export class et2_hrule extends et2_baseWidget {
|
2020-02-10 14:36:09 +01:00
|
|
|
/**
|
|
|
|
* Constructor
|
|
|
|
*
|
|
|
|
* @memberOf et2_hrule
|
|
|
|
*/
|
2021-06-07 17:33:53 +02:00
|
|
|
constructor(_parent, _attrs, _child) {
|
2020-02-10 14:36:09 +01:00
|
|
|
// Call the inherited constructor
|
2021-06-07 17:33:53 +02:00
|
|
|
super(_parent, _attrs, ClassWithAttributes.extendAttributes(et2_hrule._attributes, _child || {}));
|
|
|
|
this.setDOMNode(document.createElement("hr"));
|
2020-02-10 14:36:09 +01:00
|
|
|
}
|
2021-06-07 17:33:53 +02:00
|
|
|
}
|
|
|
|
et2_register_widget(et2_hrule, ["hrule"]);
|
2020-02-10 14:36:09 +01:00
|
|
|
//# sourceMappingURL=et2_widget_hrule.js.map
|