Skip to content

Lucky-Orange/BlackHawk-Plugin-Vibration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

BlackHawk-Plugin-Vibration

Vibration plugin of BlackHawk.

##Install

  1. Copy js/Vibration.js into www/plugins directory in your project.
  2. Drag swift/Vibration.swift into your Xcode project.
  3. add "Vibration" to the params of self.runPluginJS(["Base"]) in BlackHawkViewController class.

##Use

// js code
navigator.vibrate();

iOS system support this method only.

##LICENSE BlackHawk is open-sourced software licensed under the MIT license.

Copyright (c) 2015 Leqicheng Inc. 乐其橙科技(北京)有限公司

About

Vibration plugin of BlackHawk.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published