mirror of
https://github.com/openharmony/ace_ace_engine.git
synced 2026-07-19 14:43:36 -04:00
!2117 Select组件适配API修改
Merge pull request !2117 from xuzhidan/master_select
This commit is contained in:
@@ -92,6 +92,8 @@ void JSSelect::JSBind(BindingTarget globalObj)
|
||||
JSClass<JSSelect>::StaticMethod("optionBgColor", &JSSelect::OptionBgColor, opt);
|
||||
JSClass<JSSelect>::StaticMethod("optionFont", &JSSelect::OptionFont, opt);
|
||||
JSClass<JSSelect>::StaticMethod("optionFontColor", &JSSelect::OptionFontColor, opt);
|
||||
JSClass<JSSelect>::StaticMethod("onSelect", &JSSelect::OnSelected, opt);
|
||||
// API7 onSelected deprecated
|
||||
JSClass<JSSelect>::StaticMethod("onSelected", &JSSelect::OnSelected, opt);
|
||||
JSClass<JSSelect>::StaticMethod("width", &JSSelect::JsWidth);
|
||||
JSClass<JSSelect>::StaticMethod("height", &JSSelect::JsHeight);
|
||||
|
||||
Reference in New Issue
Block a user