update frameworks/bridge/declarative_frontend/jsview/js_textinput.cpp.

Signed-off-by: zhongjianfei <zhongjianfei@huawei.com>
Change-Id: I5883e8e432b34bdb8819ca2e006d55717bbfa374
This commit is contained in:
zhongjianfei
2021-09-17 14:35:20 +00:00
parent 2f715ae63f
commit ced0433b66
@@ -31,7 +31,7 @@ void JSTextInput::JSBind(BindingTarget globalObj)
JSClass<JSTextInput>::Declare("TextInput");
MethodOptions opt = MethodOptions::NONE;
JSClass<JSTextInput>::StaticMethod("create", &JSTextInput::Create, opt);
JSClass<JSTextInput>::StaticMethod("textInpuutType", &JSTextInput::SetType);
JSClass<JSTextInput>::StaticMethod("textInputType", &JSTextInput::SetType);
JSClass<JSTextInput>::StaticMethod("placeholderColor", &JSTextInput::SetPlaceholderColor);
JSClass<JSTextInput>::StaticMethod("placeholderFont", &JSTextInput::SetPlaceholderFont);
JSClass<JSTextInput>::StaticMethod("enterKeyType", &JSTextInput::SetEnterKeyType);