Type

弹窗主题类型,控制标题文字样式和按钮颜色

Entries

Link copied to clipboard

默认蓝色主题

Link copied to clipboard

成功绿色主题

Link copied to clipboard

警告橙色主题

Link copied to clipboard

危险红色主题,适用于删除等不可逆操作

Properties

Link copied to clipboard

取消按钮类型

Link copied to clipboard

确定按钮类型

Link copied to clipboard

内容文字样式

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int
Link copied to clipboard

标题文字样式

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.