タグ

ブックマーク / developer.mozilla.org (11)

  • MutationObserver - Web APIs | MDN

    This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨July 2015⁩. Learn more See full compatibility Report feedback The MutationObserver interface provides the ability to watch for changes being made to the DOM tree. It is designed as a replacement for the older Mutation Events feature, which was part of the DOM3 Events spec

    MutationObserver - Web APIs | MDN
  • Server-sent events - Web APIs | MDN

    Traditionally, a web page has to send a request to the server to receive new data; that is, the page requests data from the server. With server-sent events, it's possible for a server to send new data to a web page at any time, by pushing messages to the web page. These incoming messages can be treated as Events + data inside the web page.

    Server-sent events - Web APIs | MDN
    Hash
    Hash 2015/08/06
  • dispatchEvent example - MDC Docs

    Events are fired to notify code of "interesting changes" that may affect code execution. These can arise from user interactions such as using a mouse or resizing a window, changes in the state of the underlying environment (e.g., low battery or media events from the operating system), and other causes. Each event is represented by an object that is based on the Event interface, and may have additi

    Hash
    Hash 2014/04/22
    Event一覧
  • ECMAScript 2015 support in Mozilla - Archive of obsolete content | MDN

    This is an archived page. It's not actively maintained. ECMAScript 2015 is the sixth edition of the ECMAScript Language Specification standard. It defines the standard for the JavaScript implementation in SpiderMonkey, the engine used in Firefox and other Mozilla applications. Code-named "ES.next", "Harmony", or "ECMAScript 6", the first working draft (based on ECMAScript 5.1) was published on Jul

    ECMAScript 2015 support in Mozilla - Archive of obsolete content | MDN
  • Synchronous and asynchronous requests - Web APIs | MDN

    Asynchronous request If you use an asynchronous XMLHttpRequest, you receive a callback when the data has been received. This lets the browser continue to work as normal while your request is being handled. Example: send a file to the console log This is the simplest usage of asynchronous XMLHttpRequest. const xhr = new XMLHttpRequest(); xhr.open("GET", "/bar/foo.txt", true); xhr.onload = (e) => {

    Synchronous and asynchronous requests - Web APIs | MDN
    Hash
    Hash 2013/09/26
  • Array.prototype.indexOf() - JavaScript | MDN

    引数 searchElement 検索する配列要素です。 fromIndex 省略可 検索し始める位置のゼロから始まるインデックスで、整数に変換されます。 インデックスが負の場合、配列の末尾からさかのぼって数えます。 -array.length <= fromIndex < 0 の場合、 fromIndex + array.length が使用されます。ただし、この場合でも配列は前から後ろに向けて検索されます。 fromIndex < -array.length または fromIndex が省略された場合は 0 が使用され、配列全体に対して検索が行われます。 fromIndex >= array.length の場合、配列の検索は行われず、 -1 が返されます。 返値 配列内にある最初の searchElement のインデックスです。見つからなかった場合は `-1`` です。 解説 i

    Array.prototype.indexOf() - JavaScript | MDN
    Hash
    Hash 2013/07/08
    indexOfはIE9以降対応あ
  • Chrome - Glossary | MDN

    Hash
    Hash 2013/05/29
    firefoxの"Chrome"プロトコル
  • JavaScript - MDC

    このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。 �+ Ԫ�View in English �� Ԫ�Always switch to English JavaScript (JS) は軽量でインタープリター型(あるいは実行時コンパイルされる)第一級関数を備えたプログラミング言語です。ウェブページでよく使用されるスクリプト言語として知られ、多くのブラウザー以外の環境、例えば Node.js や Apache CouchDB や Adobe Acrobat などでも使用されています。 JavaScript はプロトタイプベースで、ガベージコレクションのある、動的な言語であり、命令型、関数型、オブジェクト指向など、複数のパラダイムに対応しています。 JavaScript の動的な機能には、ランタイム

    JavaScript - MDC
    Hash
    Hash 2013/05/02
    複数方面からおすすめ
  • 履歴 API - Web API | MDN

    This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015年7月. Learn more See full compatibility Report feedback 履歴 API は、ブラウザーのセッション履歴 (WebExtensions history と混同しないように) へのアクセスをグローバルの history オブジェクトを介して提供しています。このオブジェクトは、ユーザーの履歴の中を前のページや後のページへ移動したり、履歴スタックの中を操作したりするのに便利なメソッドやプロパティが提供されています。

    履歴 API - Web API | MDN
  • JavaScript Reference - MDN

    このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。 �� ��View in English ��� ��Always switch to English JavaScript リファレンスは、 JavaScript 言語に関する事実の保管庫として機能します。言語全体がここで詳細に記述されています。 JavaScript のコードを書いていると、これらのページをよく参照することになります(だから「JavaScript リファレンス」という題名なのです)。 JavaScript 言語は、ブラウザーやサーバーサイドのスクリプトなど、何か大きな環境の中で使用されることを想定しています。ほとんどの場合、このリファレンスは環境に依存しないようにしており、ウェブブラウザー環境のみを対象としている訳ではありませ

    JavaScript Reference - MDN
  • JavaScript ガイド - JavaScript | MDN

    入門編 概要: 入門編 このガイドについて JavaScript について JavaScriptJava ECMAScript ツール 次に来るもの 文法とデータ型 概要: 文法とデータ型 基構文とコメント 宣言 変数のスコープ 変数の巻き上げ データ構造とデータ型 リテラル 制御フローとエラー処理 概要: 制御フローとエラー処理 if...else switch try/catch/throw エラーオブジェクト ループと反復処理 概要: ループと反復処理 for while do...while continue break for..in for..of 関数 概要: 関数 関数の定義 関数の呼び出し 関数スコープとクロージャ 実引数 と 仮引数 アロー関数 式と演算子 概要: 式と演算子 代入演算子 と 比較演算子 算術演算子 ビット演算子 と 論理演算子 条件演算子 数値

    JavaScript ガイド - JavaScript | MDN
    Hash
    Hash 2006/10/21
    基本的なところから
  • 1