A RetroSearch Logo

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

Search Query:

Showing content from https://github.com/bootstrap-vue/bootstrap-vue/commit/29eb8b1 below:

remove deprecated slot `text` (#3868) · bootstrap-vue/bootstrap-vue@29eb8b1 · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+1

-9

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+1

-9

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

@@ -112,11 +112,7 @@ export const BDropdown = /*#__PURE__*/ Vue.extend({

112 112

},

113 113

render(h) {

114 114

let split = h()

115 -

const buttonContent =

116 -

this.normalizeSlot('button-content') ||

117 -

this.normalizeSlot('text') ||

118 -

this.html ||

119 -

stripTags(this.text)

115 +

const buttonContent = this.normalizeSlot('button-content') || this.html || stripTags(this.text)

120 116

if (this.split) {

121 117

const btnProps = {

122 118

disabled: this.disabled,

Original file line number Diff line number Diff line change

@@ -52,10 +52,6 @@

52 52

{

53 53

"name": "button-content",

54 54

"description": "Can be used to implement custom text with icons and more styling."

55 -

},

56 -

{

57 -

"name": "text",

58 -

"description": "Deprecated. please use 'button-content' slot instead."

59 55

}

60 56

]

61 57

},

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