A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuematerial/vue-material/commit/b19f6f0 below:

add emit event when clicked outside of dialog (#1567) · vuematerial/vue-material@b19f6f0 · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+6

-0

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+6

-0

lines changed Original file line number Diff line number Diff line change

@@ -122,6 +122,11 @@

122 122

name: 'md-closed',

123 123

description: 'Triggered when a dialog closes',

124 124

value: 'null'

125 +

},

126 +

{

127 +

name: 'md-clicked-outside',

128 +

description: 'Triggered when clicked outside',

129 +

value: 'null'

125 130

}

126 131

]

127 132

}

Original file line number Diff line number Diff line change

@@ -79,6 +79,7 @@

79 79

if (this.mdClickOutsideToClose) {

80 80

this.closeDialog()

81 81

}

82 +

this.$emit('md-clicked-outside');

82 83

},

83 84

onEsc () {

84 85

if (this.mdCloseOnEsc) {

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4