<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Web Components on yishiashia's Blog</title><link>https://www.naya.tw/tags/web-components/</link><description>Recent content in Web Components on yishiashia's Blog</description><generator>Hugo -- gohugo.io</generator><language>zh-TW</language><copyright>Copyright © 2023 yishiashia@gmail.com. All rights reserved.</copyright><lastBuildDate>Thu, 21 Dec 2023 14:00:11 +0800</lastBuildDate><atom:link href="https://www.naya.tw/tags/web-components/index.xml" rel="self" type="application/rss+xml"/><item><title>Web Components 介紹與實作說明 (3) | 模組化開源與 CDN</title><link>https://www.naya.tw/posts/webcomponent-introduction-3/</link><pubDate>Thu, 21 Dec 2023 14:00:11 +0800</pubDate><guid>https://www.naya.tw/posts/webcomponent-introduction-3/</guid><description>介紹如何將 Web Components 模組化並發布到 NPM 套件庫，包含使用 IIFE、打包工具的說明，以及如何透過 CDN 或 npm 安裝使用模組。從開發到發布的完整流程讓您快速學會重用 UI 元件。</description></item><item><title>Web Components 介紹與實作說明 (2) | 實作一個 Tooltip 元件</title><link>https://www.naya.tw/posts/webcomponent-introduction-2/</link><pubDate>Sat, 16 Dec 2023 22:00:11 +0800</pubDate><guid>https://www.naya.tw/posts/webcomponent-introduction-2/</guid><description>透過實作 Tooltip UI 元件來深入了解 Web Components 的應用。從零開始建立自定義元件，包含基礎模板設計、事件處理和樣式設定，並提供完整的程式碼範例，展示如何打造可重複使用的網頁元件。</description></item><item><title>Web Components 介紹與實作說明 (1)</title><link>https://www.naya.tw/posts/webcomponent-introduction-1/</link><pubDate>Wed, 29 Nov 2023 11:24:11 +0800</pubDate><guid>https://www.naya.tw/posts/webcomponent-introduction-1/</guid><description>探討 Web Components 的核心概念，包含 Custom Elements、Shadow DOM 和 HTML Templates 三大特性。了解如何使用原生 JavaScript 建立可重複使用的 UI 元件，並透過封裝避免樣式衝突。</description></item></channel></rss>