Frame / SView / Windows / InputButton
Class: InputButton
File
Description
UI通用控件:按钮 输入框按钮
Author
ZYC
Date
2022-1-24
Version
1.0
Copyright
All Rights Reserved. Copyright (C) 2022 HOTEAMSOFT, Ltd
Hierarchy
-
↳
InputButton
Table of contents
Constructors
Properties
- allSubComponent
- eleClasses
- eleId
- eleIsShow
- eleLabel
- eleOnChange
- eleOnClick
- eleOnTouchStart
- eleOverLay
- isDisable
- rootPath
Methods
- addClass
- addLabel
- create
- createLabel
- delete
- getClasses
- getContent
- getFlexDirection
- getId
- getImage
- getLabel
- getOnChangeEvent
- getOnClickEvent
- getWarning
- hide
- initFlexDirection
- isShow
- removeClass
- setAttribute
- setBGColor
- setClasses
- setColor
- setContent
- setFlexDirection
- setFontSize
- setId
- setImage
- setIsDisable
- setOnChangeEvent
- setOnClickEvent
- setWarningColor
- setWarningContent
- setWarningFontSize
- setWarningIsShow
- show
- hideById
- setRootPath
- showById
Constructors
constructor
• new InputButton(): InputButton
Returns
Description
构造函数
Overrides
Properties
allSubComponent
• allSubComponent: Map
<string
, any
>
Inherited from
eleClasses
• eleClasses: string
[]
Inherited from
eleId
• eleId: string
Inherited from
eleIsShow
• eleIsShow: boolean
Inherited from
eleLabel
• eleLabel: HTMLElement
Inherited from
eleOnChange
• eleOnChange: any
Inherited from
eleOnClick
• eleOnClick: any
Inherited from
eleOnTouchStart
• eleOnTouchStart: string
Inherited from
eleOverLay
• eleOverLay: boolean
Description
默认不显示
Inherited from
isDisable
• isDisable: boolean
Inherited from
rootPath
▪ Static
rootPath: string
Inherited from
Methods
addClass
▸ addClass(className
): void
Parameters
Name | Type | Description |
---|---|---|
className | string | 标签class名称 |
Returns
void
Description
添加标签class,原class保留
Inherited from
addLabel
▸ addLabel(id?
): void
Parameters
Name | Type |
---|---|
id? | string |
Returns
void
Description
添加标签至网页
Inherited from
create
▸ create(elementInfo
): Promise
<Label
>
Parameters
Name | Type |
---|---|
elementInfo | any |
Returns
Promise
<Label
>
Inherited from
createLabel
▸ createLabel(submitBtnInfo
): Promise
<InputButton
>
Parameters
Name | Type | Description |
---|---|---|
submitBtnInfo | any | 提交信息 |