当前位置:网站首页>Harmonyos fourth training notes
Harmonyos fourth training notes
2022-07-19 05:02:00 【m0_ sixty-one million one hundred and sixty-nine thousand four 】
Catalog
1. name
When naming, pay attention to avoid repetition with keywords , Otherwise, an error will be reported
2. Popup
Import the module first
import prompt from '@system.prompt';3
prompt.showToast
showToast(Object): void
Display text pop-up

prompt.showDialog
showDialog(): void
Show dialog box in page
prompt.showActionMenu6+
showActionMenu(Object): void
Display operation menu
3.web Components
First, add the permission list :ohos.permission.INTERNET
Add network permissions

Security configuration
A page only supports one web Components , It will be displayed in full screen , If there are other components in the page , Will be web Component overlay ,web Components do not follow transition animation

3.cemara Components
Add permission list : ohos.permission.CAMERA

边栏推荐
猜你喜欢
随机推荐
索引库操作基本操作
渗透测试 10 --- 扫描 web目录 (dirb、wfuzz、wpscan、nikto)
微众对接机制备忘
浅聊全局过滤器
thinkphp 官网教程
上传七牛云的方法
超链接实现post方式提交
FanoutExchange交换机简单使用
类对象自动注入属性操作工具
消息转换器(json)
3.RestClient查询文档
Cve-2021-44228 log4j reproduction and principle
RestAPI
elment-ui使用方法
Deleting snapshot: error deleting snapshot: Dictionary problem
pygame安装-Requirement already satisfied问题
Cve-2017-12635 CouchDB vertical privilege bypass vulnerability recurrence
Tasking new aurix tc37x demo project
基于SSM框架的考勤签到请假系统
数据库取配置文件字段,然后进行数据处理和判断









