portraitinverted

("portraitinverted", (Z.Orientation) => void): this;

Emitted when the device is in an inverted portrait orientation, 180 degrees from portrait.

Returns

this

Handler Function

When the portraitinverted event is fired, attached handler functions are called with a single argument, a Z.Orientation value.

Example

symbol.nodes.accelerometer.on("portraitinverted", () => {
    // Runs when portraitinverted occurs on the accelerometer node

});
zapcode branded_zapcode i