mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-16 11:41:19 +01:00
243d769d7c
- Change node import syntax
54 lines
932 B
TypeScript
54 lines
932 B
TypeScript
/**
|
|
* EGroupware eTemplate2 - Button widget
|
|
*
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
* @package etemplate
|
|
* @subpackage api
|
|
* @link https://www.egroupware.org
|
|
* @author Nathan Gray
|
|
*/
|
|
|
|
|
|
import {css, html} from "@lion/core";
|
|
import {LionInput} from "@lion/input";
|
|
import {Et2InputWidget} from "./et2_core_inputWidget";
|
|
import {Et2Widget} from "./Et2Widget";
|
|
|
|
export class Et2Textbox extends Et2InputWidget(Et2Widget(LionInput))
|
|
{
|
|
|
|
static get styles()
|
|
{
|
|
return [
|
|
...super.styles,
|
|
css`
|
|
/* Custom CSS */
|
|
`,
|
|
];
|
|
}
|
|
|
|
static get properties()
|
|
{
|
|
return {
|
|
...super.properties,
|
|
value: {attribute: true},
|
|
onclick: {type: Function}
|
|
}
|
|
}
|
|
|
|
constructor()
|
|
{
|
|
debugger;
|
|
super();
|
|
|
|
}
|
|
|
|
connectedCallback()
|
|
{
|
|
super.connectedCallback();
|
|
|
|
}
|
|
}
|
|
|
|
customElements.define("et2-textbox", Et2Textbox);
|