Home
last modified time | relevance | path

Searched refs:optionObj (Results 1 - 3 of 3) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_button.cpp706 JSRef<JSObject> optionObj = JSRef<JSObject>::Cast(info[optionIndex]); in ParseCreatePara() local
707 if (optionObj->GetProperty(JSButton::TYPE)->IsNumber()) { in ParseCreatePara()
708 para.type = static_cast<ButtonType>(optionObj->GetProperty(JSButton::TYPE)->ToNumber<int32_t>()); in ParseCreatePara()
710 if (optionObj->GetProperty(JSButton::STATE_EFFECT)->IsBoolean()) { in ParseCreatePara()
711 para.stateEffect = optionObj->GetProperty(JSButton::STATE_EFFECT)->ToBoolean(); in ParseCreatePara()
713 if (optionObj->HasProperty(JSButton::BUTTON_STYLE)) { in ParseCreatePara()
716 if (optionObj->GetProperty(JSButton::BUTTON_STYLE)->IsNumber()) { in ParseCreatePara()
717 auto styleModeIntValue = optionObj->GetProperty(JSButton::BUTTON_STYLE)->ToNumber<int32_t>(); in ParseCreatePara()
723 if (optionObj->HasProperty(JSButton::CONTROL_SIZE)) { in ParseCreatePara()
726 if (optionObj in ParseCreatePara()
737 ParseButtonRole(const JSRef<JSObject>& optionObj, CreateWithPara& param) ParseButtonRole() argument
[all...]
H A Djs_button.h73 static void ParseButtonRole(const JSRef<JSObject>& optionObj, CreateWithPara& param);
H A Djs_view_abstract.cpp2458 JSRef<JSObject> optionObj = JSRef<JSObject>::Cast(info[1]); in JsOverlay() local
2459 JSRef<JSVal> alignVal = optionObj->GetProperty("align"); in JsOverlay()
2464 JSRef<JSVal> val = optionObj->GetProperty("offset"); in JsOverlay()

Completed in 24 milliseconds