Skip to content

pantoken-root / svelte

svelte ​

Compatibility ​

Target: Svelte. Current format: Icon action component compiles and SSR renders on Svelte 4 and 5. Minimum host version: 4.2.20. Tested through 5.57.2. Newer releases require review.

Full compatibility matrix

Thử nghiệm

@pantoken/svelte — các helper Svelte cho @pantoken/web-components.

icon là một action của Svelte dùng để render một glyph của Instructure vào một phần tử. readToken đọc một giá trị --instui-* đã được phân giải (an toàn cho SSR). Các phần tử tùy chỉnh cũng hoạt động trực tiếp khi register() đã chạy.

Giao diện ​

Hàm ​

Tham chiếu ​

register ​

Xuất lại register