Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | 2x 2x 2x | import Vue from 'vue'; import SearchSettings from '~/search_settings/components/search_settings.vue'; import { expandSection, closeSection, isExpanded } from '~/settings_panels'; const mountSearch = ({ el }) => new Vue({ el, render: (h) => h(SearchSettings, { ref: 'searchSettings', props: { searchRoot: document.querySelector('#content-body'), sectionSelector: '.js-search-settings-section, section.settings', hideWhenEmptySelector: '.js-hide-when-nothing-matches-search', isExpandedFn: isExpanded, }, on: { collapse: closeSection, expand: expandSection, }, }), }); export default mountSearch; |