self:reset_message_handler
Client
Removes the previously registered message handler from the webview
Syntax
local status = self:reset_message_handler()Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = core.webview.create()
entity:set_message_handler(function(message)
core.engine.print("info", "Received message:", message)
end)
entity:reset_message_handler()