addStyle('assets/js/my.js'); * @example $block->addStyle(['href' => 'assets/js/my.js', 'media' => 'screen']); */ public function addStyle($element, $priority = 0, $location = 'head'); /** * @param string|array $element * @param int $priority * @param string $location * @return bool */ public function addInlineStyle($element, $priority = 0, $location = 'head'); /** * @param string|array $element * @param int $priority * @param string $location * @return bool */ public function addScript($element, $priority = 0, $location = 'head'); /** * @param string|array $element * @param int $priority * @param string $location * @return bool */ public function addInlineScript($element, $priority = 0, $location = 'head'); /** * @param string $html * @param int $priority * @param string $location * @return bool */ public function addHtml($html, $priority = 0, $location = 'bottom'); }