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

add `md-id` prop (#1584) · vuematerial/vue-material@7e7249a · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+4

-1

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+4

-1

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

@@ -10,6 +10,7 @@

10 10

export default {

11 11

name: 'MdTableCell',

12 12

props: {

13 +

mdId: [String, Number],

13 14

mdLabel: String,

14 15

mdNumeric: Boolean,

15 16

mdTooltip: String,

@@ -44,6 +45,7 @@

44 45

methods: {

45 46

setCellData ($vm = this) {

46 47

this.$set(this.MdTable.items, $vm.index, {

48 +

id: $vm.mdId,

47 49

label: $vm.mdLabel,

48 50

numeric: $vm.mdNumeric,

49 51

tooltip: $vm.mdTooltip,

Original file line number Diff line number Diff line change

@@ -1,5 +1,5 @@

1 1

<template>

2 -

<th class="md-table-head" :class="headClasses" :style="headStyles" @click="changeSort">

2 +

<th class="md-table-head" :id="id" :class="headClasses" :style="headStyles" @click="changeSort">

3 3

<div class="md-table-head-container" v-if="$slots.default">

4 4

<div class="md-table-head-label">

5 5

<slot />

@@ -30,6 +30,7 @@

30 30

props: {

31 31

mdNumeric: Boolean,

32 32

numeric: Boolean,

33 +

id: [String, Number],

33 34

label: String,

34 35

tooltip: String,

35 36

sortBy: String

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