mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-13 11:34:02 +08:00
Message: added type def for offset option (#16027)
This commit is contained in:
3
types/message.d.ts
vendored
3
types/message.d.ts
vendored
@@ -45,6 +45,9 @@ export interface ElMessageOptions {
|
||||
|
||||
/** Callback function when closed with the message instance as the parameter */
|
||||
onClose?: CloseEventHandler
|
||||
|
||||
/** Set the distance to the top of viewport. Default is 20 px. */
|
||||
offset?: number
|
||||
}
|
||||
|
||||
export interface ElMessage {
|
||||
|
||||
Reference in New Issue
Block a user