You are here

function AddThisScriptManager::setAsync in AddThis 7.4

Enable / disable async loading.

Parameters

bool $enabled: TRUE to enabled async loading.

File

classes/Services/AddThisScriptManager.php, line 162
Class definition of a script manager.

Class

AddThisScriptManager
@file Class definition of a script manager.

Code

function setAsync($enabled) {
  $this->async = $enabled;
}