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/c7e8df8 below:

add "persistent" argument to createPromise() · vuematerial/vue-material@c7e8df8 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+3

-3

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+3

-3

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

@@ -33,12 +33,12 @@ export const destroySnackbar = () => {

33 33

})

34 34

}

35 35 36 -

export const createSnackbar = (duration, context) => {

36 +

export const createSnackbar = (duration, persistent, context) => {

37 37

if (currentSnackbar) {

38 38

return destroySnackbar().then(() => {

39 -

return createPromise(duration, context)

39 +

return createPromise(duration, persistent, context)

40 40

})

41 41

}

42 42 43 -

return createPromise(duration, context)

43 +

return createPromise(duration, persistent, context)

44 44

}

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