debian-mirror-gitlab/app/assets/javascripts/boards/toggle_focus.js
2022-04-04 11:22:00 +05:30

18 lines
403 B
JavaScript

import Vue from 'vue';
import ToggleFocus from './components/toggle_focus.vue';
export default () => {
const issueBoardsContentSelector = '.content-wrapper > .js-focus-mode-board';
return new Vue({
el: '#js-toggle-focus-btn',
name: 'ToggleFocusRoot',
render(h) {
return h(ToggleFocus, {
props: {
issueBoardsContentSelector,
},
});
},
});
};