1// (c) 2023 W2 Co.,Ltd. 2 3/** 4 * ããããã¼ã¸ç¹éãªã¹ã 5 */ 6class TemplateDirTopFeatureList { 7 constructor() { 8 } 9 /** 10 * ã»ã¯ã·ã§ã³å®è¡ 11 * @param {any} liquidParam liquidããã®ãã©ã¡ã¼ã¿ã¼ 12 */ 13 run(liquidParam) { 14 this.addComponent(liquidParam); 15 } 16 /** 17 * ã³ã³ãã¼ãã³ã追å 18 */ 19 addComponent(liquidParam) { 20 const component = { 21 // text/x-templateè¦ç´ ã®id 22 template: '#top-feature-list', 23 data() { 24 return lib.vue.featurePage.TopFeatureListModel.create(); 25 }, 26 methods: { 27 /** 28 * æç» 29 * @param {...any} args 弿° 30 */ 31 draw(...args) { 32 lib.vue.featurePage.FeatureListService.getForTop(liquidParam, this, [this.categoryId, this.displayCount]) 33 .then((result) => { 34 // æç»å¾ã®ä»»æã®å¦çãè¨è¿° 35 }); 36 }, 37 }, 38 // ã³ã³ãã¼ãã³ãã®å¼æ° 39 props: { 40 categoryId : { 41 type: String, 42 }, 43 displayCount: { 44 type: Number, 45 } 46 }, 47 watch: { 48 }, 49 computed: { 50 }, 51 created() { 52 }, 53 mounted() { 54 this.draw(); 55 }, 56 }; 57 g_vueManager.setComponent('top-feature-list', component); 58 } 59}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.