Add on layout change initial support

This commit is contained in:
Insality
2020-09-08 23:40:05 +03:00
parent 40b2837608
commit 04c39f1ce2
8 changed files with 46 additions and 12 deletions

View File

@@ -33,7 +33,7 @@ M.ON_MESSAGE = hash("on_message")
M.ON_INPUT_HIGH = hash("on_input_high")
M.ON_FOCUS_LOST = hash("on_focus_lost")
M.ON_FOCUS_GAINED = hash("on_focus_gained")
M.ON_LAYOUT_CHANGE = hash("on_layout_change")
M.ON_LAYOUT_CHANGE = hash("layout_changed")
M.ON_LANGUAGE_CHANGE = hash("on_language_change")
@@ -63,6 +63,7 @@ M.PIVOTS = {
}
-- Value is method name of component
M.SPECIFIC_UI_MESSAGES = {
[M.ON_FOCUS_LOST] = "on_focus_lost",
[M.ON_FOCUS_GAINED] = "on_focus_gained",