文件最后提交记录最后更新时间
!1055 适配横屏修改 * adapter WGR 3 年前
!887 README整改 * readme update 3 年前
!398 Done! 全量翻译---JsDialog * Added English readme 4 年前
!966 README整改 * update README_zh.md 3 年前
!614 AtomicLayout、BuildCommonView、DdefiningPageLayoutAndConnection、Process、JsAnimationStyle、JsCanvas、JsDialog、JsGrid、JsDevice、JsUICustomComponent工程API7至API8工程适配 * AtomicLayout、BuildCommonView、DdefiningPageLayoutAndConnection、Process、… 4 年前
!614 AtomicLayout、BuildCommonView、DdefiningPageLayoutAndConnection、Process、JsAnimationStyle、JsCanvas、JsDialog、JsGrid、JsDevice、JsUICustomComponent工程API7至API8工程适配 * AtomicLayout、BuildCommonView、DdefiningPageLayoutAndConnection、Process、… 4 年前
!822 901工程适配 * 修改.mainAbility为.MainAbility * 901工程适配 3 年前
README.md

JS Dialog Box

Introduction

The JS UI component <dialog> allows users to customize the dialog box style and layout. This sample shows how to use a custom dialog box to implement contacts addition and deletion.

Usage

  1. Touch Add Contact. A dialog box is displayed. Touch OK to add a contact, or touch Cancel to cancel the addition.

  2. In the contact list, touch Delete next to the new contact. A dialog box is displayed. Touch Delete to delete the contact, or touch Cancel to cancel the deletion.

Constraints

This sample can only be run on standard-system devices.