You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Event Handling > deactivate

8.17 deactivate

on.deactivate()

This routine is called when the script is deactivated. This happens when the user moves the focus to another page or to another application on the same page.

Introduced in platform.apiLevel = '1.0'