在Button xtype中使用href config更改按钮的css。我应该如何修复它?
我正在使用按钮X类型,其中我有href config打开另一个链接。但是使用href更改我的按钮样式..因为我认为由于使用href config样式而发生了更改..这是我的X类型..ExtJS4在Button xtype中使用href config更改按钮的css。我应该如何修复它?,css,extjs4,Css,Extjs4,我正在使用按钮X类型,其中我有href config打开另一个链接。但是使用href更改我的按钮样式..因为我认为由于使用href config样式而发生了更改..这是我的X类型..ExtJS4 { xtype:'button', text:'Start', style:'margin-
{
xtype:'button',
text:'Start',
style:'margin-left:150px;',
cls:'userAccountButtonCls',
href:'http://localhost/zipyap/',
}
使用
希望能有所帮助
Handler:function(){
window.location.assign("http://localhost/zipyap/");
}
instead of href