@clarkcant/widget-sdk
v0.2.0
Published
Widget author contracts: props/state/events/actions/semantic surface, host bridge message codec, capability request descriptors.
Readme
@clarkcant/widget-sdk
The ClarkCant widget author SDK: the props, state, events, actions and semantic-surface contracts, and the bridge runtime a widget frame uses to talk to its host. Browser-safe ES modules with type declarations.
import { createWidgetRuntime } from "@clarkcant/widget-sdk";
import { bindAppearance } from "@clarkcant/widget-sdk/dom";Documentation: https://github.com/digitopvn/clarkcant/blob/main/docs/widget-development.md
SDK cho tác giả widget ClarkCant: hợp đồng props, state, sự kiện, hành động và bề mặt ngữ nghĩa, cùng runtime cầu nối mà khung widget dùng để giao tiếp với host. Mô-đun ES an toàn cho trình duyệt, kèm khai báo kiểu.
Tài liệu: https://github.com/digitopvn/clarkcant/blob/main/docs/widget-development.vi.md
