はてなブックマークアプリ

サクサク読めて、
アプリ限定の機能も多数!

アプリで開く

はてなブックマーク

  • はてなブックマークって?
  • アプリ・拡張の紹介
  • ユーザー登録
  • ログイン
  • Hatena

はてなブックマーク

トップへ戻る

  • 総合
    • 人気
    • 新着
    • IT
    • 最新ガジェット
    • 自然科学
    • 経済・金融
    • おもしろ
    • マンガ
    • ゲーム
    • はてなブログ(総合)
  • 一般
    • 人気
    • 新着
    • 社会ニュース
    • 地域
    • 国際
    • 天気
    • グルメ
    • 映画・音楽
    • スポーツ
    • はてな匿名ダイアリー
    • はてなブログ(一般)
  • 世の中
    • 人気
    • 新着
    • 新型コロナウイルス
    • 働き方
    • 生き方
    • 地域
    • 医療・ヘルス
    • 教育
    • はてな匿名ダイアリー
    • はてなブログ(世の中)
  • 政治と経済
    • 人気
    • 新着
    • 政治
    • 経済・金融
    • 企業
    • 仕事・就職
    • マーケット
    • 国際
    • はてなブログ(政治と経済)
  • 暮らし
    • 人気
    • 新着
    • カルチャー・ライフスタイル
    • ファッション
    • 運動・エクササイズ
    • 結婚・子育て
    • 住まい
    • グルメ
    • 相続
    • はてなブログ(暮らし)
    • 掃除・整理整頓
    • 雑貨
    • 買ってよかったもの
    • 旅行
    • アウトドア
    • 趣味
  • 学び
    • 人気
    • 新着
    • 人文科学
    • 社会科学
    • 自然科学
    • 語学
    • ビジネス・経営学
    • デザイン
    • 法律
    • 本・書評
    • 将棋・囲碁
    • はてなブログ(学び)
  • テクノロジー
    • 人気
    • 新着
    • IT
    • セキュリティ技術
    • はてなブログ(テクノロジー)
    • AI・機械学習
    • プログラミング
    • エンジニア
  • おもしろ
    • 人気
    • 新着
    • まとめ
    • ネタ
    • おもしろ
    • これはすごい
    • かわいい
    • 雑学
    • 癒やし
    • はてなブログ(おもしろ)
  • エンタメ
    • 人気
    • 新着
    • スポーツ
    • 映画
    • 音楽
    • アイドル
    • 芸能
    • お笑い
    • サッカー
    • 話題の動画
    • はてなブログ(エンタメ)
  • アニメとゲーム
    • 人気
    • 新着
    • マンガ
    • Webマンガ
    • ゲーム
    • 任天堂
    • PlayStation
    • アニメ
    • バーチャルYouTuber
    • オタクカルチャー
    • はてなブログ(アニメとゲーム)
    • はてなブログ(ゲーム)
  • おすすめ

    おうちレシピ

『The Modern JavaScript Tutorial』

  • 人気
  • 新着
  • すべて
  • Async/await

    8 users

    javascript.info

    There’s a special syntax to work with promises in a more comfortable fashion, called “async/await”. It’s surprisingly easy to understand and use. Async functionsLet’s start with the async keyword. It can be placed before a function, like this: The word “async” before a function means one simple thing: a function always returns a promise. Other values are wrapped in a resolved promise automatically

    • テクノロジー
    • 2018/05/15 15:05
    • javascript
    • Drag'n'Drop with mouse events

      3 users

      javascript.info

      Drag’n’Drop is a great interface solution. Taking something and dragging and dropping it is a clear and simple way to do many things, from copying and moving documents (as in file managers) to ordering (dropping items into a cart). In the modern HTML standard there’s a section about Drag and Drop with special events such as dragstart, dragend, and so on. These events allow us to support special ki

      • テクノロジー
      • 2018/01/17 17:50
      • javascript
      • Coordinates

        4 users

        javascript.info

        To move elements around we should be familiar with coordinates. Most JavaScript methods deal with one of two coordinate systems: Relative to the window – similar to position:fixed, calculated from the window top/left edge. we’ll denote these coordinates as clientX/clientY, the reasoning for such name will become clear later, when we study event properties. Relative to the document – similar to pos

        • テクノロジー
        • 2017/08/14 17:19
        • javascript
        • Shadow DOM styling

          7 users

          javascript.info

          Shadow DOM may include both <style> and <link rel="stylesheet" href="…"> tags. In the latter case, stylesheets are HTTP-cached, so they are not redownloaded for multiple components that use same template. As a general rule, local styles work only inside the shadow tree, and document styles work outside of it. But there are few exceptions. :hostThe :host selector allows to select the shadow host (t

          • テクノロジー
          • 2015/04/01 14:47
          • CSS
          • Memory leaks | JavaScript Tutorial

            7 users

            javascript.info

            In JavaScript, we rarely think about memory management. It appears natural that we create variables, use them and the browser takes care about low-level details. But as applications become complex and AJAXy, and a visitor stays on a page for a long time, we may notice problems like a browser takes 1G+ and grows larger and larger in size. That’s usually because of memory leaks. Here we discuss the

            • 世の中
            • 2012/11/20 18:03
            • javascript
            • memory
            • Scheduling: setTimeout and setInterval

              3 users

              javascript.info

              We may decide to execute a function not right now, but at a certain time later. That’s called “scheduling a call”. There are two methods for it: setTimeout allows us to run a function once after the interval of time. setInterval allows us to run a function repeatedly, starting after the interval of time, then repeating continuously at that interval. These methods are not a part of JavaScript speci

              • テクノロジー
              • 2012/07/02 19:33
              • javascript
              • onLoad and onDOMContentLoaded | JavaScript Tutorial

                4 users

                javascript.info

                The lifecycle of an HTML page has three important events: DOMContentLoaded – the browser fully loaded HTML, and the DOM tree is built, but external resources like pictures <img> and stylesheets may not yet have loaded. load – not only HTML is loaded, but also all the external resources: images, styles etc. beforeunload/unload – the user is leaving the page. Each event may be useful: DOMContentLoad

                • テクノロジー
                • 2011/11/23 21:57
                • JavaScript
                • Bubbling and capturing

                  10 users

                  javascript.info

                  Let’s start with an example. This handler is assigned to <div>, but also runs if you click any nested tag like <em> or <code>: <div onclick="alert('The handler!')"> <em>If you click on <code>EM</code>, the handler on <code>DIV</code> runs.</em> </div>

                  • テクノロジー
                  • 2011/11/18 00:09
                  • javascript
                  • Animation

                    39 users

                    javascript.info

                    We want to make this open-source project available for people all around the world. Help to translate the content of this tutorial to your language!

                    • テクノロジー
                    • 2011/07/28 00:27
                    • javascript
                    • animation
                    • Canvas
                    • チュートリアル
                    • Web
                    • あとで読む
                    • The Modern JavaScript Tutorial

                      107 users

                      javascript.info

                      We want to make this open-source project available for people all around the world. Help to translate the content of this tutorial to your language!

                      • テクノロジー
                      • 2011/06/09 07:27
                      • javascript
                      • tutorial
                      • js
                      • チュートリアル
                      • git
                      • Cross-window communication

                        10 users

                        javascript.info

                        The “Same Origin” (same site) policy limits access of windows and frames to each other. The idea is that if a user has two pages open: one from john-smith.com, and another one is gmail.com, then they wouldn’t want a script from john-smith.com to read our mail from gmail.com. So, the purpose of the “Same Origin” policy is to protect users from information theft. Same OriginTwo URLs are said to have

                        • テクノロジー
                        • 2011/05/26 12:17
                        • JavaScript
                        • Security
                        • browser

                        このページはまだ
                        ブックマークされていません

                        このページを最初にブックマークしてみませんか?

                        『The Modern JavaScript Tutorial』の新着エントリーを見る

                        キーボードショートカット一覧

                        j次のブックマーク

                        k前のブックマーク

                        lあとで読む

                        eコメント一覧を開く

                        oページを開く

                        はてなブックマーク

                        • 総合
                        • 一般
                        • 世の中
                        • 政治と経済
                        • 暮らし
                        • 学び
                        • テクノロジー
                        • エンタメ
                        • アニメとゲーム
                        • おもしろ
                        • アプリ・拡張機能
                        • 開発ブログ
                        • ヘルプ
                        • お問い合わせ
                        • ガイドライン
                        • 利用規約
                        • プライバシーポリシー
                        • 利用者情報の外部送信について
                        • ガイドライン
                        • 利用規約
                        • プライバシーポリシー
                        • 利用者情報の外部送信について

                        公式Twitter

                        • 公式アカウント
                        • ホットエントリー

                        はてなのサービス

                        • はてなブログ
                        • はてなブログPro
                        • 人力検索はてな
                        • はてなブログ タグ
                        • はてなニュース
                        • はてなパークス
                        • ソレドコ
                        • App Storeからダウンロード
                        • Google Playで手に入れよう
                        Copyright © 2005-2026 Hatena. All Rights Reserved.
                        設定を変更しましたx