feedback library
Feedback: alerts, messages, toasts, dialogs, drawers, bottom sheets, tooltips, popovers, popconfirms, empty states, results and skeletons.
Classes
- BottomSheets
- Platform: mobile. Sheets that slide up from the bottom edge.
- CascadeBottomSheet
- Platform: mobile. Picks a path level by level in a bottom sheet.
- ConfirmDialog
- ConfirmDialogs
- FutureDialogs
- InfoDialog
- InfoDialogs
- LoadingDialogs
- Fullscreen loading overlay. Use WeLoading.service instead.
- NotificationMessage
- 一个消息吐丝单元,用于显示具体的Toast消息
- NotifyToasts
-
Corner notifications. Superseded by
WeNotification, which reads its colours fromWeTheme, stacks per corner and returns a handle: - TipToasts
- WeAlert
-
A persistent inline notice, after
el-alert. - WeDialog
-
A web-style modal after
el-dialog. - WeDialogDragHandle
- Makes child drag the dialog it belongs to.
- WeDialogDragScope
- Hands the drag callbacks of a WeMovableDialog down to its header.
- WeDrawer
-
A panel sliding in from a screen edge, after
el-drawer. Open it with WeDrawer.show; the widget itself is the panel, for custom routes. - WeEmpty
-
A placeholder for a region with nothing to show, after
el-empty. - WeLoading
-
A loading mask over a region or the whole screen, after Element Plus's
v-loading. - WeLoadingHandle
- Closes one fullscreen WeLoading.service overlay. Closing twice is a no-op.
- WeMessage
-
A global, transient message that drops in from the top centre and stacks
below earlier ones, after
ElMessage. - WeMessageBox
-
The three ready-made modals of
ElMessageBox: alert, confirm and prompt. - WeMovableDialog
- Positions a dialog and lets the user drag it around by its header.
- WeNotification
-
A titled card in a screen corner that stacks with its neighbours, after
ElNotification. Use it for events the user did not just trigger, such as a finished export or a failed sync; WeMessage is for direct feedback. - WeNotificationHandle
- Closes one notification early or waits for it to go.
- WePopconfirm
-
A small confirmation bubble anchored to the action it guards, after
Element Plus's
el-popconfirm. - WePopover
-
A floating card with an optional title, after Element Plus's
el-popover. Unlike WeTooltip it can hold any widget, and by default opens on click. - WePopper
- Floats popupBuilder next to its trigger, the shared base of tooltips, popovers, popconfirms and select panels.
- WePopperController
- Opens and closes a WePopper from outside.
- WePopperStyle
-
The panel chrome of a WePopper;
nullfields fall back toWeTheme. - WeResult
-
The outcome of an operation, centred with a big icon, after
el-result. - WeSkeleton
-
Grey placeholder blocks shown while content loads, after
el-skeleton. - WeTooltip
-
A short hint shown while the pointer rests on child, after Element
Plus's
el-tooltip. - WinCloseButton
- The square close button of a window title bar, red on hover.
- WinDialogBody
- The message area of a WinStyleDialog: a large icon beside the text, with room for extra content underneath.
- WinDialogs
- Shows WinStyleDialogs.
- WinStyleDialog
- A desktop-looking dialog: title bar, message area, command bar.
- WinStyleDialogHeader
- The title bar of a WinStyleDialog: icon, title, close button.
- The command bar of a WinStyleDialog: a tinted strip with right-aligned buttons, the way desktop dialogs lay them out.
Enums
- NotifyToastPosition
- TipToastPosition
- WeAlertEffect
-
Fill style of a WeAlert, after
el-alerteffect. - WeDrawerDirection
-
Which edge a WeDrawer slides in from, after
el-drawer'sdirection. - WeNotificationPosition
- Corner a WeNotification slides in from.
- WePlacement
-
Where a floating panel sits relative to its trigger, after Element Plus's
placement. - WePopperTrigger
- What opens a WePopper.
- WeTooltipEffect
-
Colour scheme of a WeTooltip, after Element Plus's
effect.