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.
#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.
#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.
#IT #jQuery #OpenSource #Softwareentwicklung #TypeScript #Webentwicklung #news
# lit-xapth 文件
因為我太懶得寫文件,這東西又很多動態的 getter alias ,
要用 jsdoc writ 之類的應該很高難度,
就請 gemini 根據原始碼和 test.js 生出文件,
我再修修改改和補一些沒寫到的。
雖然 api 部分是中文,但其他是英文,
英文版 api 則是直接請 gemini 再翻一次,
懶得改了先這樣。
# 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 定位不到的屬性,還能回頭往上查詢,再結合簡潔的語法感覺很有發展潛力。
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?
9 Times the Web Platform Was Influenced by Libraries, by @jadjoubran.io:
https://jadjoubran.io/blog/web-platform-influenced-by-libraries
#webplatform #retrospectives #libraries #dojo #bootstrap #jquery #mootools #prototypejs #esm #commonjs
【超入門】初心者向けJavaScript解説!これから学習を始める方必見【Webデザイン・プログラミング】
#CSS #HTML #JavaScript #jQuery #Web #Webデザイン #コーディング #プログラミング #JavaScript基礎・入門 #JavaScript基礎・入門 #CSS #HTML #JavaScript #jQuery #Web #Webデザイン #コーディング #プログラミング
Gave my devs the tasks of replacing #jQuery syntax with vanilla #javascript. Rather than a one to one conversion, they handed the entire file to #Claude, and it rewrote absolutely everything.
Since I don't have the capacity to review every line of code that has been change in the next 24 hours, we have to decide between pulling the changes from this release or putting out a bunch of #AI slop.
I hate the world right now.