⬅️ Back to Table of Contents
📄 index.browser.test.ts
📊 Analysis Summary
Metric |
Count |
🔧 Functions |
3 |
📦 Imports |
8 |
📊 Variables & Constants |
3 |
🟢 Vue Composition API |
1 |
📚 Table of Contents
🛠️ File Location:
📂 packages/core/useElementBounding/index.browser.test.ts
📦 Imports
Name |
Source |
page |
@vitest/browser/context |
describe |
vitest |
expect |
vitest |
it |
vitest |
computed |
vue |
defineComponent |
vue |
shallowRef |
vue |
useElementBounding |
./index |
Variables & Constants
Name |
Type |
Kind |
Value |
Exported |
content |
any |
let/var |
pre.query()?.textContent |
✗ |
contentBefore |
any |
let/var |
pre.query()?.textContent |
✗ |
contentAfterFirstUpdate |
any |
let/var |
pre.query()?.textContent |
✗ |
Vue Composition API
Name |
Type |
Reactive Variables |
Composables |
computed |
computed |
none |
none |
Functions
handleWidth(): void
Code
() => {
width.value = '34px'
}
handleMargin(): void
Code
() => {
margin.value = '69px'
}
handleRemove(): void
Code
() => {
hasElement.value = false
}