From: Marc Foley Date: Thu, 17 Jul 2025 08:49:53 +0000 (+0100) Subject: AddTags wip X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e4fbe1fbf2be655cf9b870cb08a894d966f87e8;p=thirdparty%2Fgoogle%2Ffonts.git AddTags wip --- diff --git a/tagger2/AddTags.js b/tagger2/AddTags.js new file mode 100644 index 000000000..4c5f9d266 --- /dev/null +++ b/tagger2/AddTags.js @@ -0,0 +1,28 @@ +export default { + props: ["categories"], + data: function() { + return { + currentAxis: "", + currentPosition: 0, + currentOp: "", + filters: [], + } + }, + methods: { + addFilter() { + filters.push( + {axis: this.currentAxis, op: this.currentOp, value: this.currentPosition} + ) + } + }, + template: ` + + + + + ` +} \ No newline at end of file diff --git a/tagger2/index.html b/tagger2/index.html index 7b25f1829..718f761b7 100644 --- a/tagger2/index.html +++ b/tagger2/index.html @@ -30,6 +30,7 @@ import Panel from "./Panel.js"; import TagView from "./TagView.js"; import AddTag from "./AddTag.js"; + import AddTags from "./AddTags.js"; import AddCategory from "./AddCategory.js"; import VFView from "./VFView.js"; @@ -38,6 +39,7 @@ Vue.component('panel', Panel); Vue.component('tag-view', TagView); Vue.component('add-tag', AddTag); + Vue.component("add-tags", AddTags); Vue.component('add-category', AddCategory); Vue.component('vf-view', VFView);