Message💨

Using message can better prompt users

Code demonstration

import { message } from 'ungeui'

Basic usage🚀

Custom configuration🗽

APIs

Quick call interface

  • message.success(text)
  • message.danger(text)
  • message.info(text)
  • message.warning(text)

Config object configuration detail fields

  • message(config)
  • message(config)
  • message(config)
  • message(config)

config

Typemeaningdefault value
durationduration of information pop-up3000ms
iconcustom icon<info>
maxCountmaximum quantityInfinity
zIndexz-axis height300
initOffsetpop-up base Y-axis offset0

Last Updated: