次のページで質問があります。
Using IndexedDB - Web API Interfaces | MDN
javascript
1// Let us open our database 2var request = window.indexedDB.open("MyTestDatabase", 3);
上記のコードに次のような説明があります。
The call to the open() function returns an IDBOpenDBRequest object with a result (success) or error value that you handle as an event.
「open()は成功した結果、またはエラー値と一緒にIDBOpenDBRequestオブジェクトを返します。」という意味だと思うのですが、that you handle as an event
の意味がわかりません。
イベントとして扱うエラー値とはどういうものなのでしょうか?
ご回答、よろしくお願い致します。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2015/08/23 15:07