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/3aefccb below:

Drawer detection (#1929) · vuematerial/vue-material@3aefccb · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+1

-1

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

@@ -84,7 +84,7 @@

84 84

function getDrawers (children) {

85 85

const drawerVnodes = children.filter(child => {

86 86

const tag = child.data.slot || normilizeTagName(child.componentOptions.tag)

87 -

return tag === 'md-app-drawer'

87 +

return ['md-app-drawer', 'md-app-drawer-right', 'md-app-drawer-left'].indexOf(tag) > -1

88 88

})

89 89

return drawerVnodes.length ? drawerVnodes : []

90 90

}

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