Allows you to use the device's vibration functionality.

You need to add a reference to "Fuse.Vibration" in your project file to use this feature.


The following code vibrates the device for 0.8 seconds.

var vibration = require('FuseJS/Vibration');
// works on iOS using TapticEngine


Fuse.Vibration 2.9.1
Show Uno properties and methods

Interface of VibrationModule

vibrate(seconds) js

vibrationType (string) the type of vibration (works only on iOS using TapticEngine). Available vibrationType are : soft, rigid, light, medium, heavy, success, warning, error, selection

Inherited from NativeModule

Inherited from Module

GetFile : FileSource uno

Returns the file source that will be watched by the Context for changes in Fuse preview. Override in subclasses and return correct file source to support live updates in Fuse preview.

Inherited from object

Attached UX Attributes

GlobalKey (attached by Resource) : string ux

The ux:Global attribute creates a global resource that is accessible everywhere in UX markup.

Implemented Interfaces