General - Switch

Function Introduction

  • Switches are divided into on-off switches and App-side switches. There are two switch effects: gradient and no gradient, which can be configured on the Mini Program Developer Platform

DP protocol

DP codeDP meaningDP typeRemarks
switch_ledswitchBoolean (bool)

How to develop

Notes

  • None
  • [Function page]:
    • None
  • [Component]:
    • None
  • [Tutorial]:
    • None
  • [API]:
    • None