Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
feat(b-table, b-table-lite): new
tbody-tr-attr
prop for arbitrary r…
…ow attributes (closes #1864) (#4481) * feat(b-table): add custom row attributes Adds a trAttr attribute to b-table, which can either be an object or a function An object is added straight to the attributes of each row A function gets passed each item and is expected to return an object * Change attribute order so ARIA attributes don't get overwritten * Add implementation version to package declaration * Add implementation version to package declaration Missed second one... * Update mixin-tbody-row.js * Update mixin-busy.js * Update mixin-bottom-row.js * Update mixin-empty.js * Update mixin-top-row.js * Update package.json * Update index.d.ts * Update README.md * lint * Update index.d.ts * Update mixin-tbody-row.js
- Loading branch information
Showing
with
66 additions
and 22 deletions.
- +10 −7 src/components/table/README.md
- +4 −1 src/components/table/helpers/mixin-bottom-row.js
- +4 −1 src/components/table/helpers/mixin-busy.js
- +4 −1 src/components/table/helpers/mixin-empty.js
- +28 −11 src/components/table/helpers/mixin-tbody-row.js
- +2 −1 src/components/table/helpers/mixin-top-row.js
- +4 −0 src/components/table/index.d.ts
- +10 −0 src/components/table/package.json
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters