Same-layer rendering method and device, electronic equipment and storage medium
The invention discloses a same-layer rendering method and device, electronic equipment and a storage medium, and relates to the technical field of web pages. The specific implementation scheme comprises the following steps: receiving an identifier corresponding to an element added by a front end for...
Saved in:
Main Authors | , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
17.03.2020
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a same-layer rendering method and device, electronic equipment and a storage medium, and relates to the technical field of web pages. The specific implementation scheme comprises the following steps: receiving an identifier corresponding to an element added by a front end for a native component label and parameter information of the native component label; creating a nativecomponent according to the parameter information of the native component label; and adding the view of the native component to the scroll view corresponding to the identifier. According to the embodiment of the invention, the elements are added to the native component tags, the rolling views are generated by utilizing the elements, and the views of the native components are nested into the rolling views, so that same-layer rendering is realized.
本申请公开了同层渲染方法、装置、电子设备和存储介质,涉及网页技术领域。具体实现方案包括:接收前端为原生组件标签添加的元素对应的标识和原生组件标签的参数信息;根据该原生组件标签的参数信息创建原生组件;将该原生组件的视图添加到该标识对应的滚动视图中。本申请实施例通过为原生组件标签添加元素,利用该元素生成滚动视图,将原生组件的视图嵌套到滚动视图中,实现 |
---|---|
Bibliography: | Application Number: CN201911192904 |