Skip to main content
Version: 3.5

ViewComponent 页面组件

1. 结构声明

class ViewComponent extends BaseNode {
name: string = '';
title: string;
description: string;
category: string;
attrs: Array<Attribute>;
events: Array<Event>;
slots: Array<Slot>;
methods: Array<Logic>;
children: Array<ViewComponent>;
blocks: Array<ViewBlock>;
themes: Array<{
name: string;
type: string;
}>;
}