chore: improve popper handling

This commit is contained in:
Benjamin Canac
2022-10-07 13:27:51 +02:00
parent 44b7199c4f
commit 005c18e4c0
10 changed files with 138 additions and 190 deletions

View File

@@ -1,2 +1,3 @@
export * from './clipboard'
export * from './toast'
export * from './popper'

10
src/runtime/types/popper.d.ts vendored Normal file
View File

@@ -0,0 +1,10 @@
import type { Placement, PositioningStrategy } from '@popperjs/core'
export interface PopperOptions {
locked?: boolean
overflowPadding?: number
offsetDistance?: number
offsetSkid?: number
placement?: Placement
strategy?: PositioningStrategy
}