Home >Web Front-end >uni-app >A brief analysis of how uniapp makes a view scroll
UniApp is a cross-platform development framework that can easily develop mobile applications. The scroll-view component can realize scrolling in a view. Let's introduce how to make a view scroll.
1. View the documentation
Before using the scroll-view component to implement view scrolling, we need to carefully read the introduction to scroll-view in the UniApp official documentation. In the documentation, we can learn about the role and implementation of the scroll-view component.
2. Use the scroll-view component
<template> <view> <scroll-view id="scrollview"> <!-- 在此处添加需要滚动的内容 --> </scroll-view> </view> </template>