PageSourceSearch

https://samurai.ru/local/templates/new_design/components_vue/MobileCategory/index.js

js samurai.ru collected 2026-10-01 23:56:01 UTC 453 bytes, 19 lines download raw bytes

1export default {
2  template: /* template */ `
3        <a 
4            :href="'#' + category.code" 
5            ref="mobileLink" 
6            class="button"
7            :class="{dark:category.showed}" 
8        >{{category.name}}</a>
9    
10    `,
11  props: ["category"], //объект категории
12  watch: {
13    "category.showed"() {
14      if (this.category.showed) {
15        this.$refs.mobileLink.focus();
16      }
17    },
18  },
19};

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.