並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 103件

新着順 人気順

inputの検索結果1 - 40 件 / 103件

タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。

inputに関するエントリは103件あります。 htmlgame素材 などが関連タグです。 人気エントリには 『想定外の新機能! HTMLの<input type="checkbox" switch>だけで、スイッチUIが実装できるようになるぞ』などがあります。
  • 想定外の新機能! HTMLの<input type="checkbox" switch>だけで、スイッチUIが実装できるようになるぞ

    WebサイトやアプリのUIで、スイッチを実装するのはなかなか面倒です。CSSで書くと、なかなかのボリュームになってしまいます。 そんなスイッチがHTMLだけで実装できるようになります。 Release Notes for Safari TP 185によると、HTMLの新機能としてswitch属性がサポートされました。これにより、スイッチUIがHTMLで簡単に実装できるようになります。 switchについては、かなり前から実装についてGitHubで議論されていました。スイッチは人気のあるUIコントロールだけど、CSSで実装するのは簡単じゃないよね、簡単に実装できるようにしよう。という感じです。 スイッチUIを実装するHTMLは、下記の通りです。

      想定外の新機能! HTMLの<input type="checkbox" switch>だけで、スイッチUIが実装できるようになるぞ
    • label で input[type="file"] を装飾するな

      input[type="file"] な要素を装飾する方法を検索したときに、次のような間違った label 要素の使い方を紹介する記事ばかりヒットするのが気になったので書きました。label 要素を使っても問題ない場合もありますが、間違った使い方をしている(しようとしている)人に届きやすいようにこのような表題にしています。 何が問題か 上記の方法は input 要素を display: none で非表示にし、label 要素を使ってヒット領域を拡大させて「ファイルを選択」ボタンを表現するという方法ですが、この方法ではフォーカスが当たりません。また、tabindex 属性に非負の値を設定しフォーカスを当てられるようにしても label は clickable な要素ではないので Space / Enter キーで click イベントを発火することができません。 どうするべきか butto

        label で input[type="file"] を装飾するな
      • まだinputに一々disabledかけている?

        フォーム送信中にinput要素やbutton要素をdisableにしてデータが帰って来たら有効に戻すというのは多分よくやっていると思いますが、fieldset 要素一つで一括でdisabledにできる方法を最近知ったので、シェアしておきたいと思います。 普段👇 <div> <input disabled={loading} type="email" name="name" /> </div> <div> <input disabled={loading} type="password" name="password" /> </div> <div> <input disabled={loading} type="submit" value="submit" name="button" /> </div> <fieldset disabled={loading}> <div> <input

          まだinputに一々disabledかけている?
        • 1,000種以上の入力ボタンアイコンが無料公開。ゲームパッド・キーボードなどのアイコンパック『Input Prompts』がアップデート|ゲームメーカーズ

          Webサイト「Kenney」で無料公開されている入力ボタンのアイコンパック『Input Prompts』がアップデート 各種コンシューマー機のゲームパッド、キーボード・マウスといった入力ボタンのアイコンが収録されている アイコンが追加され、800種以上→1,000種以上に ゲーム開発用素材の配布やゲームの公開・販売などを行うWebサイト「Kenney」にて、ゲームパッドなどの入力ボタンのアイコンがセットになったパック『Input Prompts』がアップデートされました。 Input Prompts update released! Over 1,000 icons covering many consoles and input methods, they're all CC0 (public domain) and can be used for any type of project

            1,000種以上の入力ボタンアイコンが無料公開。ゲームパッド・キーボードなどのアイコンパック『Input Prompts』がアップデート|ゲームメーカーズ
          • input type=“date” の沼から、ライブラリを導入する意義を考える - Mirrativ Tech Blog

            はじめまして!2023年7月からミラティブでフロントエンドインターンをしております、かずえもんと申します😺 今回は、インターンでの作業中にハマってしまった Safari のバグについて調査していたら、なんと10年モノの issue だったことが判明し、ライブラリを導入する意義について考える機会となった話を書いてみたいと思います。 Safari の日付入力欄に無効な日付を入れると起こるバグ onChange が正しく呼ばれないのは Safari が原因? Safari 17 以降で再現しないので原因は Safari で間違いなさそう Safari 17 以前での解決方法として DatePicker を使ってみる まとめ: ネイティブを補う存在としてのライブラリ We're Hiring!! Safari の日付入力欄に無効な日付を入れると起こるバグ 2023年8月、私はミラティブの管理シス

              input type=“date” の沼から、ライブラリを導入する意義を考える - Mirrativ Tech Blog
            • 顧客からのちょろちょろインプットを脱却 顧客からのめちゃ太いインプットを通して何を選んでもアウトカムを生み出すプロダクトバックログを実現する/Break free from narrow customer input 2024

              よわよわプロダクトバックログアイテムで悩むプロダクト開発チームに向けて、顧客からのインプットを太くすることで、つよつよプロダクトバックログを作り出すための仕組みと構造を解説します。 生成AI用pdf: https://drive.google.com/file/d/1UK5gQovgm2DWL4m…

                顧客からのちょろちょろインプットを脱却 顧客からのめちゃ太いインプットを通して何を選んでもアウトカムを生み出すプロダクトバックログを実現する/Break free from narrow customer input 2024
              • input[type="file"] 同じファイルを選んでもchangeイベントが発火しない問題をちょっとだけ深掘りするよ🎶 - カミナシ エンジニアブログ

                「よし、これで完璧!」と思って実装したファイルアップロード機能。テストで同じファイルを2回選んだら...あれ?2回目は何も起きない。 // さっきまで動いてたはずなのに... <input type="file" onChange={(e) => { console.log('ファイル選択した!', e.target.files[0]); uploadFile(e.target.files[0]); }} /> 「え、なんでonChange動かんの...?」 Chromeのコンソールとにらめっこすること数分。これ、実は私の実装ミスじゃなくて、ブラウザの仕様に起因する面白い問題だったんです。今日は、この挙動を掘り下げて、Web標準とブラウザによる挙動の違いについて話してみたいと思います。 そもそもchangeイベントってさぁ 教科書的な説明を確認してみる MDNのchangeイベントのドキュ

                  input[type="file"] 同じファイルを選んでもchangeイベントが発火しない問題をちょっとだけ深掘りするよ🎶 - カミナシ エンジニアブログ
                • input[type="number"]における全角入力対応をChromium/WebKitへ提案と実装をした話

                  どのような問題点があったか 日本語入力環境では「全角数字(1234…)」を入力するケースが多く存在します。ところが、 <input type="number"> は仕様上「半角数字のみ」を受け付ける設計となっており、主要ブラウザの実装でも全角数字は「非数値」と判断され、入力が拒否されてしまいます。

                    input[type="number"]における全角入力対応をChromium/WebKitへ提案と実装をした話
                  • input[type=checkbox] 要素に switch 属性を指定することによる HTML 標準のスイッチ UI の提案

                    チェックボックスなどと同じく、スイッチ UI のデフォルトのスタイルを変更しカスタマイズしたい場合には、appearance: none を指定してデフォルトのスタイルを無効化する必要があります。スイッチがオンの場合のスタイルは :checked 疑似クラスを使って指定できます。 input[type="checkbox"][switch] { appearance: none; background-color: #e5e5ea; position: relative; width: 78px; height: 48px; border-radius: 8px; } input[type="checkbox"][switch]::thumb { width: 42px; height: 42px; margin-top: 2px; margin-left: 2px; border-rad

                      input[type=checkbox] 要素に switch 属性を指定することによる HTML 標準のスイッチ UI の提案
                    • Hiroshi Nishiura on Twitter: "ひとりごと:「なんでこんな状態になってるんだ。ワクチン4割で下がるんじゃないのか」となじったそうですが封建的な体制を敷いていてマトモなInputを得ないからですよ。"

                      ひとりごと:「なんでこんな状態になってるんだ。ワクチン4割で下がるんじゃないのか」となじったそうですが封建的な体制を敷いていてマトモなInputを得ないからですよ。

                        Hiroshi Nishiura on Twitter: "ひとりごと:「なんでこんな状態になってるんだ。ワクチン4割で下がるんじゃないのか」となじったそうですが封建的な体制を敷いていてマトモなInputを得ないからですよ。"
                      • Your Form Submits Mid-Japanese Input

                        A static site to link people to when their web form submits upon the user confirming their Japanese input. View the Project on GitHub kai-rin/your-form-submits-mid-japanese-input Why am I here? If someone gave you a link to this page, they probably think your web form unintentionally submits when Japanese users hit the Enter key to confirm their input. This page will give you a brief description o

                        • input[type="number"]をやめた話

                          ファンタラクティブのエンジニアの 太田 です。 数値入力コンポーネントを作成する際に type="number" を使用するのをやめたことについて書きます。 input[type="number"]とは input[type="number"] (PC) input[type="number"] (スマホ) 数値を入力するためのinputで半角数値以外の入力を除外する 問題 validな数値しか受け付けない 数値以外の値が入力できないためTypeScriptでも扱いやすくよさそうに思えますが、使用するユーザーは戸惑うことがあるようです。 実際にあった問い合わせや、問い合わせから想像する状況は以下のようなものです。 入力できない (全角入力してる) 確定したら値が消えた (全角入力してる) ペーストできない (全角でペーストしてる) キーボードではなく、UI上の▲▼で入力しないといけないと思

                            input[type="number"]をやめた話
                          • GitHub Actions: Input types for manual workflows - GitHub Changelog

                            You can now specify input types for manually triggered workflows allowing you to provide a better experience to users of your workflow. In addition to the default string type, we now support choice, boolean, and environment. name: Mixed inputs on: workflow_dispatch: inputs: name: type: choice description: Who to greet options: - monalisa - cschleiden message: required: true use-emoji: type: boolea

                              GitHub Actions: Input types for manual workflows - GitHub Changelog
                            • GitHub - azooKey/azooKey-Desktop: azooKey-Desktop is an open-source Japanese input method for macOS, written in Swift and powered by the Zenzai neural kana-kanji converter. It provides live conversion, optional LLM-based “Magic Conversions”, and Tuner-bac

                              You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                GitHub - azooKey/azooKey-Desktop: azooKey-Desktop is an open-source Japanese input method for macOS, written in Swift and powered by the Zenzai neural kana-kanji converter. It provides live conversion, optional LLM-based “Magic Conversions”, and Tuner-bac
                              • ゲームパッド・キーボードなどの入力ボタンアイコンが800種以上詰まった『Input Prompts』、Webサイト「Kenney」で無料公開|ゲームメーカーズ

                                入力ボタンのアイコンパック『Input Prompts』、Webサイト「Kenney」で無料公開 各種コンシューマー機のゲームパッド、キーボード・マウスといった入力ボタンのアイコンが収録されている SVGファイル、サイズの異なる2種のPNGファイルで用意 ゲーム開発用素材の配布やゲームの公開・販売などを行うWebサイト「Kenney」にて、ゲームパッドなどの入力ボタンのアイコンがセットになったパック『Input Prompts』が公開されました。 Input Prompts are now available! Contains 800+ glyphs for common input types, including overlays and generic controls. Includes PNG (64×, 128×) and SVG, plus an overview of a

                                  ゲームパッド・キーボードなどの入力ボタンアイコンが800種以上詰まった『Input Prompts』、Webサイト「Kenney」で無料公開|ゲームメーカーズ
                                • long-standing Japanese input bugs(日本語入力の長… - Apple Community

                                  Twitterで教えていただいたバグ: - 「あぶみ」と打つと鐙ではなく鎧(よろい)が出る https://x.com/h_okumura/status/2030592244055732345 - 「いと」と打つと糸より先に系(けい)が出る https://x.com/h_okumura/status/2030512437221577159 - 「おおすみ」と打つと大隅より先に大隈(おおくま)が出る https://x.com/h_okumura/status/2030600447158034680 これらは昔からあるようですが、バグ報告する場所がないようで、長く温存されています。何とかならないでしょうか?

                                  • GitHub - togatoga/karukan: Japanese Input Method System for Linux, Neural Kana-Kanji Conversion Engine + fcitx5 IME

                                    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                      GitHub - togatoga/karukan: Japanese Input Method System for Linux, Neural Kana-Kanji Conversion Engine + fcitx5 IME
                                    • input[type=number] のステートを安易に number 型にしない - fsubal

                                      input[type=number] には空文字とかも入力できるので、string 型で状態管理をしないと意図しない動きをすることがある

                                        input[type=number] のステートを安易に number 型にしない - fsubal
                                      • How terminal works. Part 1: Xterm, user input

                                        Motivation Introduction User input strace Printing non-printable stty raw -echo -isig UTF-8 Conclusion Motivation This blog series explains how modern terminals and command-line tools work. The primary goal here is to learn by experimenting. I’ll provide Linux tools to debug every component mentioned in the discussion. Our focus is to discover how things work. For the explanation of why things wor

                                        • How to secure GitHub Actions workflows: 4 tips to handle untrusted input and tighten permissions

                                          AI & MLLearn about artificial intelligence and machine learning across the GitHub ecosystem and the wider industry. Generative AILearn how to build with generative AI. GitHub CopilotChange how you work with GitHub Copilot. LLMsEverything developers need to know about LLMs. Machine learningMachine learning tips, tricks, and best practices. How AI code generation worksExplore the capabilities and be

                                            How to secure GitHub Actions workflows: 4 tips to handle untrusted input and tighten permissions
                                          • Chrome 99: CSS カスケード レイヤ、input 要素の新しいピッカーなど

                                            .app 1 .dev 1 #11WeeksOfAndroid 13 #11WeeksOfAndroid Android TV 1 #Android11 3 #DevFest16 1 #DevFest17 1 #DevFest18 1 #DevFest19 1 #DevFest20 1 #DevFest21 1 #DevFest22 1 #DevFest23 1 #hack4jp 3 11 weeks of Android 2 A MESSAGE FROM OUR CEO 1 A/B Testing 1 A4A 4 Accelerator 6 Accessibility 1 accuracy 1 Actions on Google 16 Activation Atlas 1 address validation API 1 Addy Osmani 1 ADK 2 AdMob 32 Ads

                                              Chrome 99: CSS カスケード レイヤ、input 要素の新しいピッカーなど
                                            • Input Prompts · Kenney

                                              Contains glyphs for: Xbox 360, Xbox One & Xbox Series PlayStation® 1 – 5 Steam Deck Steam Controller Nintendo Switch Nintendo Switch 2 Nintendo Wii Nintendo Wii U Nintendo Gamecube Playdate Keyboard & mouse Touch gestures Generic controls Flairs

                                                Input Prompts · Kenney
                                              • GitHub - rinnakk/japanese-stable-diffusion: Japanese Stable Diffusion is a Japanese specific latent text-to-image diffusion model capable of generating photo-realistic images given any text input.

                                                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                  GitHub - rinnakk/japanese-stable-diffusion: Japanese Stable Diffusion is a Japanese specific latent text-to-image diffusion model capable of generating photo-realistic images given any text input.
                                                • 【CSS】<input type="file">は::file-selector-buttonでスタイルをつけよう - Qiita

                                                  <input type="file">は直接スタイル指定ができず、デザインの変更 が面倒だったのですが、::file-selector-button を使えば簡単に指定できることを知ったので備忘録です。 使い方 See the Pen ::file-selector-button by himeka223 (@himeka223) on CodePen. ::file-selector-button にボタンのスタイルを設定するだけです! 「選択されていません(選択後はファイル名)」の文言のスタイルはinputの方で変更できます。 display: block; を追加すればボタンとテキストの間で改行も可能です。 すべてのブラウザで対応済み 既にすべてのブラウザで対応済みのようで、安心して使えます! テキストも変更したい場合は疑似要素をのせる 残念ながら ::file-selector-b

                                                    【CSS】<input type="file">は::file-selector-buttonでスタイルをつけよう - Qiita
                                                  • Context Rot: How Increasing Input Tokens Impacts LLM Performance

                                                    Large Language Models (LLMs) are typically presumed to process context uniformly—that is, the model should handle the 10,000th token just as reliably as the 100th. However, in practice, this assumption does not hold. We observe that model performance varies significantly as input length changes, even on simple tasks. In this report, we evaluate 18 LLMs, including the state-of-the-art GPT-4.1, Clau

                                                      Context Rot: How Increasing Input Tokens Impacts LLM Performance
                                                    • GitHub - Piebald-AI/tweakcc: Customize Claude Code's system prompts, create custom toolsets, add custom themes/thinking verbs/spinner, input box style, user message display, sign-in ASCII art, fix bugs (frozen spinner), and add features (context limit cus

                                                      tweakcc is a CLI tool that upgrades your Claude Code experience. Customize its system prompts, add custom themes, create toolsets, and personalize the UI. From the team behind Piebald. With tweakcc, you can Customize all of Claude Code's system prompts (NEW: also see all of Claude Code's system prompts) Create custom toolsets that can be used in Claude Code with the new /toolset command Manually n

                                                        GitHub - Piebald-AI/tweakcc: Customize Claude Code's system prompts, create custom toolsets, add custom themes/thinking verbs/spinner, input box style, user message display, sign-in ASCII art, fix bugs (frozen spinner), and add features (context limit cus
                                                      • North Korean infiltrator caught working in Amazon IT department thanks to lag — 110ms keystroke input raises red flags over true location [Updated]

                                                        Best Picks CPU Buying Advice CPU Best Picks CPU Reviews GPU Buying Advice GPU Best Picks GPU Reviews Laptop Buying Advice Laptop Best Picks Laptop Reviews More Buying Advice Keyboard Best Picks Gaming Monitor Best Picks Gaming Headset Best Picks 3D Printer Best Picks Webcam Best Picks Mice Best Picks How We Test CPUs CPU Brands AMD Ryzen Intel Lunar Lake Nvidia Qualcomm Apple Benchmarking Platform

                                                          North Korean infiltrator caught working in Amazon IT department thanks to lag — 110ms keystroke input raises red flags over true location [Updated]
                                                        • INPUT OUTPUT - 二位ガン 呟く|ω・*)

                                                          今回ちょっと趣向が違いますが、お読みいただければ幸いです。 自分で学習したこと、他人から学んだこと、を発信していきたいと思います。 INPUT [知識欲] 判断力 守破離 破滅した人 INPUT [知識欲] INPUTこの言葉は結構知られていると思います。 簡単にいうと「知識を頭に詰め込む」ですね。 何をするうえでも「学習」は必要だと思います。 ですが、学習の意味を間違えると方向性がとんでもない方向へと向かい、これが元で人間関係にまで響いてきます。 基本的なことですが、人は自分に置き換えて考える「癖」の様なものがあると思います。 「人の気持ちになって」というのであれば、それは大事なことでしょうが、反面、「自分がそうだから、他人もそう思っている」、若しくは「自分と同じくしてあるべきだ」と考えがちではないでしょうか。 blogで発信している方にはそういったことが少ないように感じます。 はてなブ

                                                            INPUT OUTPUT - 二位ガン 呟く|ω・*)
                                                          • Ultimate Unicode Input Device

                                                            Just one more thing To make the experience fit your profile, pick a username and tell us what interests you.

                                                              Ultimate Unicode Input Device
                                                            • GitHub - chenquan/arkflow: High-performance Rust stream processing engine, providing powerful data stream processing capabilities, supporting multiple input/output sources and processors.

                                                              You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                GitHub - chenquan/arkflow: High-performance Rust stream processing engine, providing powerful data stream processing capabilities, supporting multiple input/output sources and processors.
                                                              • 「なんか使いにくい」人のための“Input System学び直し” キャラクターに移動・ダッシュ・射撃させるための設定方法 | ログミーBusiness

                                                                Unityを学ぶための動画を集めたサイト「Unity Learning Materials」。ここでユニティ・テクノロジーズ・ジャパン クリエイターアドボケイトの山村氏が「Input System再入門」をテーマに登壇。まずはInput Systemのインストールから移動・ダッシュについて話します。 Input Systemを学び直す山村達彦氏(以下、山村):こんにちは、Unityの山村です。今回やる内容ですが、「Input System再入門」ということで、Input Systemをみなさんと一緒に学び直してみようと思います。 その前にちょっと聞きたいんですが、Input Systemって使ったことありますか? 以前は「New Input System」と言われていて、Input System自体はもう2年ぐらい前に出てきているんですけれど。「もうマスターしたよ」という人もいれば、なんと

                                                                  「なんか使いにくい」人のための“Input System学び直し” キャラクターに移動・ダッシュ・射撃させるための設定方法 | ログミーBusiness
                                                                • GitHub - jina-ai/reader: Convert any URL to an LLM-friendly input with a simple prefix https://r.jina.ai/

                                                                  You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                    GitHub - jina-ai/reader: Convert any URL to an LLM-friendly input with a simple prefix https://r.jina.ai/
                                                                  • GitHub - mtgto/macSKK: Yet Another macOS SKK Input Method

                                                                    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                      GitHub - mtgto/macSKK: Yet Another macOS SKK Input Method
                                                                    • GitHub - scottbez1/smartknob: Haptic input knob with software-defined endstops and virtual detents

                                                                      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                        GitHub - scottbez1/smartknob: Haptic input knob with software-defined endstops and virtual detents
                                                                      • 【Unity】ダークソウルっぽいカメラワークを作る【Cinemachine + Input System】 - Raspberlyのブログ

                                                                        この記事はUnity Advent Calendar 2022 その3 24日目の記事です。 qiita.com ダークソウルのようなカメラワークとは 開発環境 プロジェクトの設定 パッケージのインストール シーンの作成 プレイヤーの作成 追加でオブジェクトを作成 移動制御Scriptの作成 Input Systemの対応 カメラの作成 Bodyの設定 Aimの設定 Input Systemの対応 Cinemachineの詳細設定 Cameraの更新設定(カクつきの対策) Cameraが地形を貫通しないようにする よりダークソウルっぽいカメラ設定 カメラの中心点 距離と角度制限 カメラのデーモン対策 カメラのデーモンとは 対策方法 オブジェクトを透過(ディザ抜き)する プレイヤーが壁と密着しないようにする モンスターと重なった時プレイヤーを透過する ロックオン機能の実装(仮) ロックオン時

                                                                          【Unity】ダークソウルっぽいカメラワークを作る【Cinemachine + Input System】 - Raspberlyのブログ
                                                                        • MUI Autocomplete で API のデータから検索候補を表示する Input を作ってみる - asoview! Tech Blog

                                                                          この記事は アソビューAdvent Calendar 2023 の6日目(B面)になります。 アソビューでフロントエンドエンジニアをしている白井です。 今回は文字入力時に候補検索し表示できるような Input コンポーネントを作ってみようと思います。 果物検索補完付き Input 今のプロジェクトで使用している MUI の Autocomplete を使うことで簡単に実装できるのですが、オプションが多くて癖が強いことや、細かいことをやろうとしたりリクエストを間引いたりすると一手間必要になるので、そのあたりの解説をしていきます。 主に以下の3つのライブラリを使用して実装を進めていきます。 データ取得:SWR バリデーション:React Hook Form コンポーネント:MUI Autocomplete オートコンプリート付き Input の作成 まず、Autocomplete コンポーネン

                                                                            MUI Autocomplete で API のデータから検索候補を表示する Input を作ってみる - asoview! Tech Blog
                                                                          • GitHub - jfedor2/hid-remapper: Programmable adapter for USB input devices

                                                                            For user documentation please see the project's website at remapper.org. This is a configurable USB dongle that allows you to remap inputs from mice, keyboards and other devices. It works completely in hardware and requires no software running on the computer during normal use. It can do things like reassign buttons, change keyboard layouts, map mouse buttons to keyboard inputs, map keystrokes to

                                                                              GitHub - jfedor2/hid-remapper: Programmable adapter for USB input devices
                                                                            • Chrome 99: CSS Cascade Layers, a New Picker for Input Elements, and More

                                                                              $200K 1 10th birthday 4 abusive ads 1 abusive notifications 2 accessibility 3 ad blockers 1 ad blocking 2 advanced capabilities 1 android 2 anti abuse 1 anti-deception 1 background periodic sync 1 badging 1 benchmarks 1 beta 83 better ads standards 1 billing 1 birthday 4 blink 2 browser 2 browser interoperability 1 bundles 1 capabilities 6 capable web 1 cds 1 cds18 2 cds2018 1 chrome 35 chrome 81

                                                                                Chrome 99: CSS Cascade Layers, a New Picker for Input Elements, and More
                                                                              • input, textarea中のキャレット座標 (カーソルの位置) を取得する

                                                                                によって、Range オブジェクトとして取得することが可能です。ここで取得した Range オブジェクト情報から selectedText.getRangeAt(0).getBoundingClientRect() で、選択した箇所の座標情報を取得することができます。 しかし、input タグや textarea タグの中のテキストを選択しても同じように Range オブジェクト情報は取得できません。空のオブジェクトが返却されてしまいます。 input タグや textarea タグではこの Range 情報を取得するメソッドはありません。 ※ しかし input , textarea タグ内のテキストに選択範囲を設定するメソッドはなぜかある HTMLInputElement: setSelectionRange() method この入力系DOM内の座標情報を取得するためにはどのような手

                                                                                  input, textarea中のキャレット座標 (カーソルの位置) を取得する
                                                                                • HTMLでボタンを作るとき使うべき要素は <input>?<button>?

                                                                                  🌼 はじめに フロントエンドエンジニアなら誰でも一回はボタンコンポーネントを作ったこと、もしくは使ったことがあるのではないかと思います。私もUI実装のときよく触ってました。 最近 <input type="button" value="保存" /> のようなボタンコンポーネントを見かけて、「なんで buttonじゃないんだろう、てかなんでボタン作る要素が button と input の2つあるわけ?」という気持ちになりました。 気になったら調べるしかないので、今から調査結果を共有します。 1. input要素とbutton要素は似てる さっそくフォームの中にinput要素とbutton要素でボタンを作ってみました。 <form action=""> <label> 好きな食べ物は? <input type="text" /> </label><br /> <div class="but

                                                                                    HTMLでボタンを作るとき使うべき要素は <input>?<button>?

                                                                                  新着記事