1export default { 2 template: ` 3 <q-dialog @show="addClass" @hide="removeClass"> 4 <slot /> 5 </q-dialog> 6 `, 7 methods: { 8 addClass() { 9 // NOTE: prevent the page from scrolling when the dialog is closed (#5031) 10 document.documentElement.classList.add("nicegui-dialog-open"); 11 }, 12 removeClass() { 13 document.documentElement.classList.remove("nicegui-dialog-open"); 14 }, 15 }, 16 unmounted() { 17 this.removeClass(); 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.