'js', ]; $merged_attributes = Utils::arrayMergeRecursiveUnique($base_options, $elements); parent::__construct($merged_attributes, $key); } /** * @return string */ public function render() { if (isset($this->attributes['loading']) && $this->attributes['loading'] === 'inline') { $buffer = $this->gatherLinks([$this], self::JS_ASSET); return 'renderAttributes() . ">\n" . trim($buffer) . "\n\n"; } return '\n"; } }