This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

onchargingchange

Summary

Handles the chargingchange event.

Property of apis/battery_status/BatteryManagerapis/battery_status/BatteryManager

Syntax

var result = battery.onchargingchange;
battery.onchargingchange = value;

Return Value

Returns an object of type functionfunction