What You Should Already KnowWhy I Wrote This BookNavigating This BookOnline ResourcesConventions Used in This BookUsing Code ExamplesSafari® Books OnlineHow to Contact UsAcknowledgments From Web Apps to Chrome AppsRunning a Chrome AppUsing the Chrome Dev EditorDifferences Among Chrome Apps, Chrome Extensions, and Hosted AppsChrome App RestrictionsMore on the ManifestPermissionsDebugging Chrome App
About HTML Preprocessors HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug. Learn more · Versions Adding Classes In CodePen, whatever you write in the HTML editor is what goes within the <body> tags in a basic HTML5 template. So you don't have access to higher-
HTML5はスマートフォン分野で普及が進んでいることもあってか、スマートフォン/タブレット向けのAPIが増えています。まだ確定していない機能もどんどん出ており、その一つとしてバイブレーションを操作するAPIがあります。 まだ一部のブラウザでしかサポートされていない当APIですが、試せるようにしたJavaScriptライブラリがHandshakeになります。 デモ画面 使い方としてはnavigator.vibrateを実行します。例えば次のような感じです。 function countdown() // A 3 second countdown timer, suitable for a racing game. { // 3 2 1 Go! navigator.vibrate([300,700,300,700,300,700,1000]); } Handshakeではモールス信号を再現する
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く