We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Button - Control
"Button"
任何元素都可做为按钮的控件主元素。默认的控件主元素为button。
按钮的显示文字。不进行HTML过滤。
按钮的高度。
按钮的宽度。
设置按钮的显示文字。
参数:
设置按钮的高度。
当按钮被点击时触发。
事件对象成员:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ECOM UI组件标准 - Button
继承层级
prototype.type
"Button"
控件主元素
任何元素都可做为按钮的控件主元素。默认的控件主元素为button。
属性
{string} content
按钮的显示文字。不进行HTML过滤。
{number} height
按钮的高度。
{number} width
按钮的宽度。
公共实例方法
{void} setContent( {string} content )
设置按钮的显示文字。
参数:
{void} setHeight( {number} height )
设置按钮的高度。
参数:
{void} setWidth( {number} width )
设置按钮的高度。
参数:
事件
click
当按钮被点击时触发。
事件对象成员:
The text was updated successfully, but these errors were encountered: