ASafaeirad
440 subscribers
193 photos
13 videos
2 files
267 links
My personal works, which I hope you like. contact @S_Kill
Download Telegram
How to use AbortController

Read the Article

#abort #js
๐Ÿ‘4๐Ÿ”ฅ1
Bases
We have a new core plugin in Obsidian that can act as a database

https://help.obsidian.md/bases

#obsidian #news
๐Ÿ”ฅ8๐ŸŽ‰3
Chromium team is working on "Vertical Tabs" ๐ŸŽ‰

https://chromium-review.googlesource.com/c/chromium/src/+/7018894

#chrome #news
๐Ÿ‘5๐Ÿ‘Ž3๐ŸŽ‰1
Build excellent documentation your way.

https://fumadocs.dev/

#doc #tools
๐Ÿ‘4โšก1
TIL:
You can listen for attribute changes on a DOM element using a MutationObserver.
In my case, I needed to inspect a DOM element during a transient state that changed too quickly to catch manually.
Using DOM breakpoints wasn't helpful since the element was updated too frequently.
The solution was to use a MutationObserver to trigger specifically when a certain attribute changed.


const observer = new MutationObserver(function(mutations) {
mutations.forEach(function(mutation) {
if (
mutation.type === "attributes" &&
mutation.attributeName === "my-attribute") {
debugger;
}
});
});

observer.observe(element, { attributes: true });


#til
โค7๐Ÿ‘3๐Ÿ”ฅ1๐Ÿคฏ1
โšก4๐Ÿ”ฅ1๐ŸŽ‰1
Zoo.js
An overview of 127 JavaScript engines.

https://zoo.js.org/

#javascript #engine
โšก5๐Ÿ‘2๐ŸŽ‰1
โค1๐Ÿ‘1