Repository: cordova-plugin-vibration Updated Branches: refs/heads/master 97978be49 -> 9da96fc03
Lisa testing pulling in plugins for plugin: cordova-plugin-vibration Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/commit/42b12e4f Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/tree/42b12e4f Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/diff/42b12e4f Branch: refs/heads/master Commit: 42b12e4f6bbd525b3a7166ad7ecc936dca072333 Parents: 3327efe Author: ldeluca <[email protected]> Authored: Tue May 27 17:50:05 2014 -0400 Committer: ldeluca <[email protected]> Committed: Tue May 27 17:50:05 2014 -0400 ---------------------------------------------------------------------- doc/ja/index.md | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/42b12e4f/doc/ja/index.md ---------------------------------------------------------------------- diff --git a/doc/ja/index.md b/doc/ja/index.md new file mode 100644 index 0000000..769aba0 --- /dev/null +++ b/doc/ja/index.md @@ -0,0 +1,58 @@ +<!--- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> + +# org.apache.cordova.vibration + +ãã®ãã©ã°ã¤ã³ã¯ãããã¤ã¹ãæ¯åãããæ¹æ³ãæä¾ãã¾ãã + +## ã¤ã³ã¹ãã¼ã« + + cordova plugin add org.apache.cordova.vibration + + +## ãµãã¼ãããã¦ãããã©ãããã©ã¼ã + +* ã¢ãã¾ã³ç« OS +* ã¢ã³ããã¤ã +* ãã©ãã¯ããªã¼ 10 +* Firefox ã® OS +* iOS +* Windows Phone 7 㨠8 + +## notification.vibrate + +æå®ãããæééã®ããã¤ã¹ãæ¯åãã¾ãã + + navigator.notification.vibrate(time) + + +* **æå»**: ããªç§ãããã¤ã¹ãæ¯åãããã*(æ°)* + +## ä¾ + + // Vibrate for 2.5 seconds + navigator.notification.vibrate(2500); + + +## iOS ã®ç + +* **æé**: æå®ãããæéãç¡è¦ããæéã®äºåã«è¨å®ãããéã®ããã«æ¯åãã¾ãã + + navigator.notification.vibrate(); + navigator.notification.vibrate(2500); // 2500 is ignored \ No newline at end of file
