From f91cb045852bffbf5c5a83c24667b7382c2d02f2 Mon Sep 17 00:00:00 2001 From: Ibrahim Hadeed Date: Sat, 11 Jun 2016 10:38:55 -0400 Subject: [PATCH] docs(vibrate): modify docs --- src/plugins/vibration.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/plugins/vibration.ts b/src/plugins/vibration.ts index d9aec87ee..910c6a8c5 100644 --- a/src/plugins/vibration.ts +++ b/src/plugins/vibration.ts @@ -25,17 +25,18 @@ import {Plugin, Cordova} from './plugin'; @Plugin({ plugin: 'cordova-plugin-vibration', pluginRef: 'navigator', - repo: 'https://github.com/apache/cordova-plugin-vibration' + repo: 'https://github.com/apache/cordova-plugin-vibration', + platforms: ['Android', 'iOS', 'Windows 8.1 Phone', 'Windows 8.1', 'Windows 10'] }) export class Vibration { /** * Vibrates the device for given amount of time. - * @param time {Number|Array} Milliseconds to vibrate the device. If passed an array of numbers, it will define a vibration pattern. Pass 0 to stop any vibration immediately. + * @param time {number|Array} Milliseconds to vibrate the device. If passed an array of numbers, it will define a vibration pattern. Pass 0 to stop any vibration immediately. */ @Cordova({ sync: true }) - static vibrate(time: any) {} + static vibrate(time: number|Array) {} } \ No newline at end of file