landscape

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

Emitted when the device is in the default landscape orientation.

Returns

this

Handler Function

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

Example

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

});
zapcode branded_zapcode i