Touch Events version 1 W3C Candidate Recommendation 15 December 2011 This version: http://www.w3.org/TR/2011/CR-touch-events-20111215/ Latest published version: http://www.w3.org/TR/touch-events/ Latest editor's draft: http://dvcs.w3.org/hg/w... 続きを読む
Pointer Events W3C Working Draft 15 January 2013 This version: http://www.w3.org/TR/2013/WD-pointerevents-20130115/ Latest published version: http://www.w3.org/TR/pointerevents/ Latest editor's draft: https://dvcs.w3.org/hg/pointerevents/raw-... 続きを読む
タッチ、マウス、ペンといった様々な入力を、特定のハードウェアに依存しない 「ポインタ」 という概念で扱う仕様、「Pointer Events」 が FPWD (First Public Working Draft) から 5ヶ月で勧告候補 (Candidate Recommendation) として更新されました。 Poi... 続きを読む
Statistics Likes 0 Downloads 0 Comments 0 Embed Views 0 Views on SlideShare 0 Total Views 0 Domイベントの基礎から深淵まで Presentation Transcript TextDOM イベントの基礎から深淵まで 中野雅之• 肩書き• 正式 : Mozilla Japan 国際化担当マネージャ... 続きを読む
flipsnap.jsをWindows8のIE10のタッチで動くようにしました。 flipsnap.js 思ったより簡単に対応できました。diffはこんな感じ。 IE10 for touch device support. Fix #13 · 0524fef · pxgrid/js-flipsnap IE10はiOSやAndroidのようにtouchstartやtouchmoveのよ... 続きを読む
タッチ系の操作をスマホでもデスクトップPCでも動くようにするため、タッチイベントがある場合はtouchstartやtouchmoveを使い、タッチイベントをサポートしていないブラウザではmousedownやmousemoveを使って同じ挙動にするというケースがあります。 例えばこう... 続きを読む
2012-12-30 Deferred/Promisesと非同期処理 概念/仕組み Deferred/Promisesは非同期処理を簡単にするための取り決め。 callback hellと呼ばれているような、非同期処理によるコールバックのネストを軽減することができて非常に便利。 慣れれば便利だが、一見ど... 続きを読む
JavaScript, iPad, JavaScript, iPad | 09:30addEventListener の第2引数には、オブジェクト型の handleEvent メソッドは使えるけど、関数型の handleEvent メソッドは、使えない。 iOS6 touchendイベントが拾えない。しかも他でも報告があるのでバグっぽい。H... 続きを読む
HTML Living Standard — Last Updated 22 August 2012 ← 6.5 Session history and navigation – Table of contents – 7 Web application APIs → 6.7 Offline Web applications 6.7.1 Introduction 6.7.1.1 Event summary6.7.2 Application caches6.7.3 The... 続きを読む
JavaScript events have been the gateway to user interaction within the browser since its inception. Not only do events tell us when an interaction happens, but events tell us type of interaction, the nodes involved, and provide us methods for... 続きを読む
If you hadn’t heard, jQuery Conference 2011 is taking place in Boston later this week. We’ve put together a little something we like to call jQuery 1.7 Beta 1 that we’ll be talking a lot more about at the conference. It’s got a lovely bun... 続きを読む
contenteditable + DOMCharacterDataModified でやってみた。 サポートブラウザ http://help.dottoro.com/ljundmoa.php window.onload = function() { var refIn = document.getElementById("input"); var refOut = document.getElementById("output"); refIn.a... 続きを読む
init***Event がなくなって、コンストラクターにオブジェクトを渡せるようになる。 こうだったのが… var ev = document.createEvent("ProgressEvent") ev.initProgressEvent("progress", false, false, true, 42, 100) // obsolete document.dispatchEvent(ev)... 続きを読む
昨今、限られた環境(iPhone限定とか)でない限り、JavaScriptのライブラリを使用して作成することが多いと思いますが、その際のお話です。なお、理解するにはMooToolsのクラスの仕様についてある程度知っている必要があります。 汎用ライブラリと目的特化型ラ... 続きを読む
Dismiss Octotip: You've activated the file finder by pressing t Start typing to filter the file list. Use ↑ and ↓ to navigate, enter to view files. 続きを読む
what is this¶brings you swipe events for iPad, iPhone. http://dl.dropbox.com/u/268240/googleCode/jquery-ui-swipable/index.html usage¶$(element).swipable(); $(element).bind('swipe.right', function(){ alert('right swiped'); }); $(element).bind(... 続きを読む
デモ。クリック直下の単語を選択してアラートする。 http://jsfiddle.net/heZ4z/ 元ネタ→ javascript - Creating a collapsed range from a pixel position in FF/Webkit - Stack Overflow DOM 標準には document.caretRangeFromPoint というメソッドがあり、... 続きを読む
I thought this would be a handy snippet for anyone who wants to enable event handling on any arbitrary object. I decided to augment Underscore.js because these methods should to be on every Javascripter’s “Utility Belt”. I decided to use N... 続きを読む
前回に続き、shibuya.jsでしゃべってきました。 プレゼン資料はこちら。諸事情により少しフォントが小さめです。 http://ma.la/files/shibuya.js/techtalk2.html JavaScriptが無効でも閲覧できるように画像に変換しておきました。 いくつか補足 - APIは最初から... 続きを読む
jQuery, jQueryUI, UI, JavaScript複数画面で使えるAjax formダイアログのコンポーネントを作る初期状態Google CalendarのようなWebアプリを想像してください。1日が1個のセルになっていて、セルをクリックしたらスケジュール登録ダイアログが表示され、入力し... 続きを読む