mirror of
https://github.com/Insality/druid
synced 2025-09-27 18:12:21 +02:00
Add message input TEXT_SET, update docs/changelog
This commit is contained in:
@@ -35,8 +35,12 @@ end
|
||||
function M.on_message(self, message_id, message, sender)
|
||||
end
|
||||
|
||||
-- Call only if component with ON_ANGUAGECHANinterest
|
||||
function M.on_anguagechanself)
|
||||
-- Call only if component with ON_LANGUAGE_CHANGE interest
|
||||
function M.on_language_change(self)
|
||||
end
|
||||
|
||||
-- Call only if component with ON_MESSAGE_INPUT interest
|
||||
function M.on_message_input(self, node_id, message)
|
||||
end
|
||||
|
||||
-- Call only if component with ON_LAYOUT_CHANGE interest
|
||||
@@ -105,6 +109,8 @@ There is next interests in druid:
|
||||
|
||||
- **ON_LANGUAGE_CHANGE** - will call _on_language_change_ function on language change trigger
|
||||
|
||||
- **ON_MESSAGE_INPUT** - will call _on_message_input_ function on Druid _const.ON_MESSAGE_INPUT_ message
|
||||
|
||||
- **ON_LAYOUT_CHANGE** will call _on_layout_change_ function on layout change trigger
|
||||
|
||||
- **ON_FOCUS_LOST** will call _on_focust_lost_ function in on focus lost event. You need to pass window_callback to global `druid:on_window_callback`
|
||||
|
Reference in New Issue
Block a user