当前位置:网站首页>Harmonyos fourth training
Harmonyos fourth training
2022-07-07 05:12:00 【ljy��516】
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
3.web Components
First, add the permission list :ohos.permission.INTERNET
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
4.cemara Components
Add permission list : ohos.permission.CAMERA
边栏推荐
猜你喜欢
[Android kotlin collaboration] use coroutinecontext to realize the retry logic after a network request fails
Ansible报错:“msg“: “Invalid/incorrect password: Permission denied, please try again.“
The sooner you understand the four rules of life, the more blessed you will be
CentOS 7.9安装Oracle 21c历险记
一文搞懂常见的网络I/O模型
01机器学习相关规定
全链路压测:影子库与影子表之争
qt 简单布局 盒子模型 加弹簧
Salesforce 容器化 ISV 场景下的软件供应链安全落地实践
U++ game learning notes
随机推荐
Decorator basic learning 02
Error: No named parameter with the name ‘foregroundColor‘
Leetcode minimum difference in student scores
创始人负债10亿,开课吧即将“下课”?
torch optimizer小解析
U++ metadata specifier learning notes
Markdown editor
Longest palindrome substring (dynamic programming)
JS variable case output user name
AttributeError: module ‘torch._ C‘ has no attribute ‘_ cuda_ setDevice‘
一个酷酷的“幽灵”控制台工具
Development thoughts of adding new requirements in secondary development
Test interview | how much can you answer the real test interview question of an Internet company?
U++ 元数据说明符 学习笔记
[Android kotlin collaboration] use coroutinecontext to realize the retry logic after a network request fails
PMP证书有没有必要续期?
window定时计划任务
【Android Kotlin协程】利用CoroutineContext实现网络请求失败后重试逻辑
Auto. JS get all app names of mobile phones
使用Thread类和Runnable接口实现多线程的区别