微信开发者工具篇「微搭低代码」低码编辑器使用概述

小程序 文章 2022-03-08 12:20 0 全屏看文

微信开发者工具篇「微搭低代码」低码编辑器使用概述WeChat developer tools article "Micro-build low-code" low-code editor usage overview

微信开发者工具篇「微搭低代码」低码编辑器使用概述

使用低代码编辑要求开发者有一定的 JavaScript 基础,它能帮助开发者在使用微搭低代码进行拖拽式开发时,根据业务需求完善应用的逻辑丰富度和复杂度。对于开发经验较为缺乏的开发者,我们的组件库也提供了封装好的方法能够直接使用。本文将会为您介绍低代码编辑器的作用和使用方式。

低代码编辑器入口

点击编辑器右上角的更多按钮,在下拉列表中选择低代码编辑器即可。

低代码编辑器总览

低代码编辑器分为全局配置区、页面配置区与编译区,每个页面以文件夹的形式展示在页面配置区下。

模块功能 style 全局配置区和每个页面都有 style 模块,在全局配置区的设置会作用到整个应用,单个页面的 style 只对页面内有效。lifecycle应用和每个页面都有自己的 lifecycle,全局配置区的 lifecycle 在应用使用的时候会生效,而只有当某个页面在页面堆栈最上层时,才会触发该页面的 lifecycle。commonCommon 是一个方法集合,在 Common 中能够创建能全局调用的函数。handlerHandler 也是一个方法集合,但是 Handler 方法只能在对应的页面内有效,通过 Handler 方法能够在页面中调用组件、变量和平台方法等。

Using low code editing requires developers to have a certain JavaScript foundation, which can help developers improve the logical richness and complexity of applications according to business needs when using micro build low code for drag and drop development. For developers who lack development experience, our component library also provides encapsulated methods that can be used directly. This article will introduce you to the function and usage of low code editor. Low code editor entry click the more button in the upper right corner of the editor and select low code editor in the drop-down list. Overview of low code editor low code editor is divided into global configuration area, page configuration area and compilation area. Each page is displayed in the form of folder under the page configuration area. The module function style global configuration area and each page have style modules. The settings in the global configuration area will affect the whole application. The style of a single page is only valid within the page. Lifecycle applications and each page have their own lifecycle. The lifecycle of the global configuration area will take effect when the application is used. Only when a page is at the top of the page stack will the lifecycle of the page be triggered. Commoncommon is a collection of methods in which functions that can be called globally can be created. HandlerHandler is also a collection of methods, but the Handler method can only be effective in the corresponding pages. By means of Handler, components, variables and platform methods can be invoked in the page.

回答:

问.宇宙真谛:

只能用在云开发环境中吗


忠路贵州绿豆皮:`↘☆↖ lcbk.nbifjjb.nkiij。↘↘nn
忠路贵州绿豆皮:nn'n!!、过丷:↖↗孞↖:▽、 ,
忠路贵州绿豆皮:,:一、。,、…孞〈、f.nnkiknhmmiu诶诶jmmyh
忠路贵州绿豆皮:l↖↘in、nnjj氵.'。

-EOF-