短评 · ·

X 归档 2022-02-09

3 条动态 · 图 1 · 视频 0
Replacing JavaScript alert(), confirm() and prompt() with the new HTML <dialog>
@madsstoumann @css
https://css-tricks.com/replace-javascript-dialogs-html-dialog-element/
用新的 HTML <dialog> 替换 JavaScript 的 alert()、confirm() 和 prompt()
@madsstoumann @css
https://css-tricks.com/replace-javascript-dialogs-html-dialog-element/
📣 New: Render web components in 11ty!

A new experimental Lit Labs plugin for @eleven_ty lets you render your Lit components to static HTML and hydrate them into fully-functional web components on the client.

Give it a try: https://goo.gle/333EQvs
📣 新鲜出炉:在 11ty 中渲染 web components!

一个新的 Lit Labs 实验性插件(面向 @eleven_ty),可以把你的 Lit 组件渲染成静态 HTML,并在客户端将其水合成功能完整的 web components。

快来试试:https://goo.gle/333EQvs
@buildWithLit 的配图 1/1
Replacing JavaScript alert(), confirm() and prompt() with the new HTML <dialog>
@madsstoumann @css
https://css-tricks.com/replace-javascript-dialogs-html-dialog-element/
用新的 HTML <dialog> 替换 JavaScript 的 alert()、confirm() 和 prompt()
@madsstoumann @css
https://css-tricks.com/replace-javascript-dialogs-html-dialog-element/