registerJsFile() public method
Registers a JS file.
public void registerJsFile ( $url, $options = [], $key = null )$url string
The JS file to be registered. $options array
The HTML attributes for the script tag. The following options are specially handled and are not treated as HTML attributes:
depends: array, specifies the names of the asset bundles that this JS file depends on.
position: specifies where the JS script tag should be inserted in a page. The possible values are:
POS_HE