Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
c1da7a5c
Commit
c1da7a5c
authored
Nov 02, 2017
by
Riku Inoue
Committed by
杨奕
Nov 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Notification: fix unnecessary required types
parent
08b80ca4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
types/notification.d.ts
types/notification.d.ts
+8
-8
No files found.
types/notification.d.ts
View file @
c1da7a5c
...
...
@@ -15,31 +15,31 @@ export interface ElNotificationOptions {
message
:
string
|
VNode
/** Notification type */
type
:
MessageType
type
?
:
MessageType
/** Custom icon's class. It will be overridden by type */
iconClass
:
string
iconClass
?
:
string
/** Custom class name for Notification */
customClass
:
string
customClass
?
:
string
/** Duration before close. It will not automatically close if set 0 */
duration
:
number
duration
?
:
number
/** Whether to show a close button */
showClose
:
boolean
showClose
?
:
boolean
/** Whether message is treated as HTML string */
dangerouslyUseHTMLString
?:
boolean
/** Callback function when closed */
onClose
:
()
=>
void
onClose
?
:
()
=>
void
/** Callback function when notification clicked */
onClick
:
()
=>
void
onClick
?
:
()
=>
void
/** Offset from the top edge of the screen. Every Notification instance of the same moment should have the same offset */
offset
:
number
offset
?
:
number
}
export
interface
ElNotification
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment