mirror of https://github.com/ElemeFE/element
Message: added type def for offset option (#16027)
parent
67d4c9ee9e
commit
8440d1703a
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue