@jswf/core
Version:
JavaScript Window Framework
25 lines (24 loc) • 569 B
TypeScript
import { BaseView } from "./BaseView";
import "../scss/TextBox.scss";
/**
*テキストボックス
*
* @class TextBox
* @extends {JSW.Window}
*/
export declare class TextBox extends BaseView {
private nodeLabel;
private nodeText;
constructor(params?: {
text?: string;
label?: string;
type?: string;
image?: string;
});
setText(text: string): void;
getText(): string;
setLabel(text: string): void;
getLabel(): string;
getTextNode(): HTMLInputElement;
focus(): void;
}