Message: added type def for offset option (#16027)

pull/16063/head
Matjaž Lipuš 2019-06-13 12:02:00 +02:00 committed by hetech
parent 5440186c45
commit ff96eaecbc
1 changed files with 3 additions and 0 deletions

3
types/message.d.ts vendored
View File

@ -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 {