harmony 鸿蒙Toggle

  • 2025-06-12
  • 浏览 (4)

Toggle

A toggle is used to enable or disable a function.

toggle-backup

How to Use

  • Place a toggle on the right of a function for users to enable or disable the function.

  • Turning on or off the toggle will change the setting status. In some scenarios, there is a delay in displaying the status from on to off or from off to on. For example, after a user turns on the toggle related to the Bluetooth function, it takes a certain period of time to enable the Bluetooth function, and the user may see a short change process.

Resources

For details about the development guide related to the toggle, see Toggle.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙OpenHarmony Application UX Design Specifications

harmony 鸿蒙Adaptive Layouts

harmony 鸿蒙Animation Attributes

harmony 鸿蒙Animation Design Principles

harmony 鸿蒙Animation Overview

harmony 鸿蒙Application Navigation Structure Design

harmony 鸿蒙Application Page Structure Design

harmony 鸿蒙Application UX Design Principles

harmony 鸿蒙Annotated Drawings

harmony 鸿蒙Design Checklists

0  赞