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

default the row select feature `selected-variant` to t… · bootstrap-vue/bootstrap-vue@af372b0 · GitHub

File tree Expand file treeCollapse file tree 3 files changed

+5

-6

lines changed

Filter options

Expand file treeCollapse file tree 3 files changed

+5

-6

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

@@ -1541,12 +1541,12 @@ example).

1541 1541 1542 1542

The `selected-variant` can be any of the

1543 1543

[standard (or custom) bootstrap base color variants](/docs/reference/color-variants), or the special

1544 -

[table `active` variant](/docs/reference/color-variants#table-variants) which takes precedence over

1545 -

any specific row or cell variants.

1544 +

[table `active` variant](/docs/reference/color-variants#table-variants) (the default) which takes

1545 +

precedence over any specific row or cell variants.

1546 1546 1547 1547

For accessibility reasons (specifically for color blind users, or users with color contrast issues),

1548 1548

it is highly recommended to always provide some other visual means of conveying that a row is

1549 -

selected, such as shown in the example below.

1549 +

selected, such as a virtual column as shown in the example below.

1550 1550 1551 1551

```html

1552 1552

<template>

@@ -1559,7 +1559,6 @@ selected, such as shown in the example below.

1559 1559

ref="selectableTable"

1560 1560

selectable

1561 1561

:select-mode="selectMode"

1562 -

selected-variant="active"

1563 1562

:items="items"

1564 1563

:fields="fields"

1565 1564

@row-selected="onRowSelected"

Original file line number Diff line number Diff line change

@@ -235,7 +235,7 @@

235 235

},

236 236

{

237 237

"prop": "selectedVariant",

238 -

"description": "Bootstrap color theme variant to set selected rows to. use any of hte standard Bootstrap theme variants, or the special table row variant 'active'"

238 +

"description": "Bootstrap color theme variant to set selected rows to. Use any of the standard Bootstrap theme color variants, or the special table row variant 'active' (default). Set to an empty string to not use a variant"

239 239

},

240 240

{

241 241

"prop": "showEmpty",

Original file line number Diff line number Diff line change

@@ -152,7 +152,7 @@ export default deepFreeze({

152 152

variant: null

153 153

},

154 154

BTable: {

155 -

selectedVariant: 'primary',

155 +

selectedVariant: 'active',

156 156

headVariant: null,

157 157

footVariant: null

158 158

},

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