You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
hezhiying/node_modules/vue-clipboard2/index.d.ts

26 lines
669 B

declare module 'vue-clipboard2' {
import Vue, { PluginFunction, WatchOptions } from 'vue'
module "vue/types/vue" {
interface Vue {
$clipboardConfig: {
autoSetContainer: boolean,
appendToBody: boolean
}
$copyText(text: string, container?: object | HTMLElement): Promise<{
action: string,
text: string,
trigger: String | HTMLElement | HTMLCollection | NodeList,
clearSelection: () => void
}>
}
}
class VueClipboard {
static install: PluginFunction<never>
static config: {
autoSetContainer: boolean
appendToBody: boolean
}
}
export default VueClipboard
}