You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
413 B
19 lines
413 B
({
|
|
header: function () {
|
|
return "Colors";
|
|
},
|
|
item: [
|
|
{name: "red", current: true, url: "#Red"},
|
|
{name: "green", current: false, url: "#Green"},
|
|
{name: "blue", current: false, url: "#Blue"}
|
|
],
|
|
link: function () {
|
|
return this["current"] !== true;
|
|
},
|
|
list: function () {
|
|
return this.item.length !== 0;
|
|
},
|
|
empty: function () {
|
|
return this.item.length === 0;
|
|
}
|
|
})
|