Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

custom-element

النجوم٦
التفرعات١
آخر تحديث٢٠ يونيو ٢٠٢٦ في ٢٣:٤٨

How to define a Web Component with rikka's `defineElement`. Covers the two-argument form, the strict-typed builder form, `attributes`, `events`, `methods`, `render`, `template`, and lifecycle. Load this when the task is about creating a `<my-tag>` element, declaring reactive HTML attributes, or dispatching custom events.

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

SKILL.md
readonly