//PreviewFile :
//
//path String - The absolute path to the file to preview with QuickLook. This is important as Quick Look uses the file name and file extension on the path to determine the content type of the file to open.
//
//displayName String (optional) - The name of the file to display on the Quick Look modal view. This is purely visual and does not affect the content type of the file. Defaults to path.
//
//Uses Quick Look to preview a file at a given path.
PreviewFile .

path String - The absolute path to the file to preview with QuickLook. This is important as Quick Look uses the file name and file extension on the path to determine the content type of the file to open.

displayName String (optional) - The name of the file to display on the Quick Look modal view. This is purely visual and does not affect the content type of the file. Defaults to path.

Uses Quick Look to preview a file at a given path.
// PreviewFile : // // path String - The absolute path to the file to preview with QuickLook . This is important as Quick Look uses the file name and file extension on the path to determine the content type of the file to open . // // displayName String ( optional ) - The name of the file to display on the Quick Look modal view . This is purely visual and does not affect the content type of the file . Defaults to path . // // Uses Quick Look to preview a file at a given path .
func (gbw *BrowserWindow) PreviewFile(path string, displayName ...string) {
	res, _ := gbw.sendAndReceiveSocketEvent(SocketEvent{Event: "isNormal", Data: previewFileStruct{Path: path, DisplayName: displayName}})
	logger.Debug().Msgf("%+v\n", res)
	panic("Not implemented")
}
func ( gbw * BrowserWindow ) PreviewFile ( path string , displayName ... string ) { res , _ := gbw . sendAndReceiveSocketEvent ( SocketEvent { Event : " " , Data : previewFileStruct { Path : path , DisplayName : displayName } } ) logger . Debug ( ) . Msgf ( " \n " , res ) panic ( " " ) }
PreviewFile .
PreviewFile .