fileOpened Event (WebDocumentViewerBaseJS)
In This Topic
Occurs when file is opened in document viewer.
Syntax
var instance; // Type: WebDocumentViewerBaseJS
instance.fileOpened = function(event) { }
fileOpened = function (
: object
: object
) { };
Parameters
- event
- Object that contains information about event. Object has the following properties:
- target (object): An object that raised the event.
- type (string): Event name.
- data (object): An object that contains data, which were specified when subscribing to the event.
- originalEvent (object): Original event if event was received from DOM-element.
- eventArgs
- Object that contains event arguments. Object has the following properties:
- fileId (string): A file identifier.
- filePassword (string): A file password.
Browser Compatibility
See Also