Updated on 2025-03-24 GMT+08:00

{widget}.ftl

File Introduction

The {widget}.html file is the widget DOM structure file, which is similar to the HTML file and is used for style display.

When customizing widgets in Huawei Cloud Astro Canvas, you can write the content that needs to be rendered on the server in advance in this file.

File Example

<div id="EchartsWidgetTemplate" v-cloak>
  <div ref="echartsDom" class="echarts-container"></div>
</div>