Skip to main content
Version: 3.8

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>;
variableMap: Map<string, string> = new Map();
i18nMap: Map<string, Map<string, string>> = new Map();
}