Fired when storage content has changed
Member of Web Application (PRIM_WEB.Application)
Name | Type | Data Type | Description |
---|---|---|---|
StorageType | *Input | Enumeration | Returns the type of storage that has changed |
The StorageChanged event is fired whenever a change is made to the browser's LocalStorage. This is a convenient method to allow communication between two different WebPages
In this example, a maintenance page has updated an employee record and added a LocalStorageItem that records the ID of the modified employee. The page that launched the maintenance pages detects the change and uses the value to update a list item.
Evtroutine Handling(#sys_web.StorageChanged) If (#sys_web.localStorage*IsNot *null) #Com_owner.Update( #sys_web.localStorage .Value ) Endif Endroutine
Febuary 18 V14SP2