UNPKG
v-tables-3
Version:
latest (0.4.7)
0.4.7
0.4.6
0.4.5
0.4.4
Vue.js 3 grid components
matfish2/vue-tables-2-private
v-tables-3
/
compiled
/
methods
/
init-order-by.js
7 lines
(6 loc)
•
243 B
JavaScript
View Raw
1
2
3
4
5
6
7
"use strict"
;
module
.
exports
=
function
(
) {
if
(!
this
.
opts
.
orderBy
)
return
;
this
.
orderBy
.
column
=
this
.
opts
.
orderBy
.
column
;
this
.
orderBy
.
ascending
=
this
.
opts
.
orderBy
.
hasOwnProperty
(
'ascending'
) ?
this
.
opts
.
orderBy
.
ascending
:
true
; };