Select2 has shiny new docs!

Thank @kevin for entertaining my suggestions. :)

https://select2.org/

#javascript #jquery #django #foss

Select2

The jQuery replacement for select boxes

AdminLTE 4.0: Restart for the dashboard framework

AdminLTE appears in version 4.0 – with a complete overhaul to Bootstrap 5.3, without jQuery and with 18 new demo pages.

https://www.heise.de/en/news/AdminLTE-4-0-Restart-for-the-dashboard-framework-11306526.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege&utm_source=mastodon

#IT #jQuery #OpenSource #Softwareentwicklung #TypeScript #Webentwicklung #news

AdminLTE 4.0: Restart for the dashboard framework

AdminLTE appears in version 4.0 – with a complete overhaul to Bootstrap 5.3, without jQuery and with 18 new demo pages.

heise online

AdminLTE 4.0: Neustart für das Dashboard-Framework

AdminLTE erscheint in Version 4.0 – mit komplettem Umbau auf Bootstrap 5.3, ohne jQuery und mit 18 neuen Demo-Seiten.

https://www.heise.de/news/AdminLTE-4-0-Neustart-fuer-das-Dashboard-Framework-11306268.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege&utm_source=mastodon

#IT #jQuery #OpenSource #Softwareentwicklung #TypeScript #Webentwicklung #news

AdminLTE 4.0: Neustart für das Dashboard-Framework

AdminLTE erscheint in Version 4.0 – mit komplettem Umbau auf Bootstrap 5.3, ohne jQuery und mit 18 neuen Demo-Seiten.

heise online

# lit-xapth 文件

因為我太懶得寫文件,這東西又很多動態的 getter alias ,
要用 jsdoc writ 之類的應該很高難度,
就請 gemini 根據原始碼和 test.js 生出文件,
我再修修改改和補一些沒寫到的。

雖然 api 部分是中文,但其他是英文,
英文版 api 則是直接請 gemini 再翻一次,
懶得改了先這樣。

https://git.disroot.org/gholk/lit-xpath

#xpath #jquery #js

lit-xpath

XPath wrapper library as pleasent as jquery

Disroot Forgejo: Brace yourself, merge conflicts ahead.

# lit-xpath

晚餐後花了點時間把想像了一段時間的 JS XPath 函式庫寫出來,主要理念是整合 JS 語法和 xpath 的彈性與強大,使用上又像 jquery 一樣簡便。

```js
xpath.query('//*[id="the-id"]').element // $('#the-id')[0]
// or xpath.element('//*[id="the-id"]')

xpath.string `//form/../@data-type`
xpath.n `count(//form//button)` // number
xpath.ctx(document.body).q `..`.e .nodeName == 'HTML'
```

* 函數呼叫的括號可省
* 類別可以前置
* 方法屬性都有一個字的縮寫

xpath 優勢之一是可以定位到 css 定位不到的屬性,還能回頭往上查詢,再結合簡潔的語法感覺很有發展潛力。

https://git.disroot.org/gholk/lit-xpath

#xpath #jquery #js

lit-xpath

XPath wrapper library as pleasent as jquery

Disroot Forgejo: Brace yourself, merge conflicts ahead.

I have the following code that creates a new Sort object and binds a custom "sorted" event to it.

```
this.sort = new Sort(this);

$(this.sort).on("sorted", function() {
console.log("Items have been sorted!");
});
```

But despite the "sorted" event being triggered during the object's creation, the `log()` line doesn't run. I assume it's because the event hasn't been bound yet when it's first triggered.

What's the best way to address this?

#JS #JavaScript #JQuery #WebDev

9 Times the Web Platform Was Influenced by Libraries | Jad Joubran

From querySelector to Temporal — a look at how userland libraries shaped the native APIs we use every day.

Jad Joubran
個人的にjQuery メソッドチートシートまとめた - Qiita

はじめに 最近、レガシーなプロジェクトで jQuery を触る機会があって、いろいろとわからないことがあったため、個人的なチートシートをまとめることにしました。 バージョン: jQuery 3.x 系を前提にしています 基本構文 // DOM 読み込み完了後に実行 ...

Qiita
The framework built by a father in 2006 dominated the internet before any tech giant could https://comuniq.xyz/post?t=966 #framework #jquery #javascript #programming #code #technology
Add comment | Comuniq

Discover, vote and discuss the best content on the web. Comuniq is an open source community-driven news aggregator where real people — not algorithms — curate and share what matters most.