Interface Clipboard

Index

Methods

Methods

public clearData(type?: string)

Parameters

  • type?: string optional

public clearText()

public getData(type: string): any

Parameters

  • type: string

Returns

any

public getText(): string

Returns

string

public hasData(type: string): boolean

Parameters

  • type: string

Returns

boolean

public hasText(): any

Returns

any

public setData(type: string, data: any)

Parameters

  • type: string
  • data: any

public setText(text: string)

Parameters

  • text: string