Home
last modified time | relevance | path

Searched refs:onWillChange_ (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_event_hub.cpp574 onWillChange_ = std::move(func); in SetOnWillChange()
579 return onWillChange_ ? onWillChange_(info) : true; in FireOnWillChange()
584 return static_cast<bool>(onWillChange_); in HasOnWillChange()
H A Drich_editor_event_hub.h391 std::function<bool(const RichEditorChangeValue&)> onWillChange_; variable
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_keyboard_shortcut_test_ng.cpp448 eventHub->onWillChange_ = func1;
480 eventHub->onWillChange_ = func1;
845 eventHub->onWillChange_ = func1;
889 eventHub->onWillChange_ = func1;
H A Drich_editor_styled_string_test_ng.cpp194 EXPECT_FALSE(eventHub->onWillChange_);