JavaScriptProvider

Handles all JavaScript related operations on the owning document. Retrieve it with getJavaScriptProvider

Functions

Link copied to clipboard
Loads and evaluates top level JavaScript scripts that are associated with the document.
Link copied to clipboard
abstract fun executeDocumentLevelScriptsAsync(): Completable
Loads and evaluates top level JavaScript scripts that are associated with the document, asynchronously.
Link copied to clipboard
Returns true if JavaScript processing is enabled for this document.
Link copied to clipboard
abstract fun setJavaScriptEnabled(isJavaScriptEnabled: Boolean)
Controls whether JavaScript processing is enabled for this document.