V6: Option to disable components automatic creation on DOMContentLoaded event.

オープン
#43,372 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
javascript
領域
frontend

調査の方向性

The payload names no files or tests. It describes automatic creation of the Combobox and Datepicker components on the DOMContentLoaded event, so start by finding where that auto-initialization happens in the JavaScript source. The issue leaves open whether the opt-out should be global or per component, and that choice needs a maintainer decision before any code. Done would mean an agreed design, then an option that turns off auto-creation while getOrCreateInstance still works.

索引モデルが issue の本文から書いたものです。

説明

feature js v6
Prerequisites
Proposal

Right now the components like Combobox and Datepicker are created automatically on on DOMContentLoaded event.

Motivation and context

When loading components via Ajax, we manually call getOrCreateInstance, there is no need to the automictic initialization.

Is it possible to have a global or per component configuration option to disable this automatic initialization.

主要言語
JavaScript
スター
175k
フォーク
78.9k
平均マージ
4日 2時間
マージ済み PR(30日)
89

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

twbs/bootstrap のほかの issue

twbs/bootstrap の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。