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

add ability to provide custom tab button attributes (cl… · bootstrap-vue/bootstrap-vue@c541d3d · GitHub

File tree Expand file treeCollapse file tree 3 files changed

+10

-0

lines changed

Filter options

Expand file treeCollapse file tree 3 files changed

+10

-0

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

@@ -162,6 +162,11 @@

162 162

"prop": "titleLinkClass",

163 163

"description": "CSS class (or classes) to apply to the tab's control button inner link element"

164 164

},

165 +

{

166 +

"prop": "titleLinkAttributes",

167 +

"version": "2.6.0",

168 +

"description": "Attributes to apply to the tab's control button inner link element"

169 +

},

165 170

{

166 171

"prop": "noBody",

167 172

"description": "When the parent b-tabs has the 'card' prop set, do not render a card-body wrapper"

Original file line number Diff line number Diff line change

@@ -39,6 +39,10 @@ export const BTab = /*#__PURE__*/ Vue.extend({

39 39

type: [String, Array, Object],

40 40

default: null

41 41

},

42 +

titleLinkAttributes: {

43 +

type: Object,

44 +

default: null

45 +

},

42 46

disabled: {

43 47

type: Boolean,

44 48

default: false

Original file line number Diff line number Diff line change

@@ -115,6 +115,7 @@ const BTabButtonHelper = /*#__PURE__*/ Vue.extend({

115 115

],

116 116

props: { disabled: this.tab.disabled },

117 117

attrs: {

118 +

...this.tab.titleLinkAttributes,

118 119

role: 'tab',

119 120

id: this.id,

120 121

// Roving tab index when keynav enabled

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