WebAssetAttachBehaviorInterface

Web Asset Behavior interface

since

4.0.0

package

Application

Methods

onAttachCallback

Method called when asset attached to the Document.

onAttachCallback(\Joomla\CMS\Document\Document doc) : void

Useful for Asset to add a Script options.

since

4.0.0

Arguments

doc

\Joomla\CMS\Document\DocumentActive document