Trait Yiisoft\Yii\DataView\UseInlineJsTrait
| Implemented by | Yiisoft\ |
|---|
Trait providing an implementation of {@see UseInlineJsInterface}.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| useInlineJs() | Yiisoft\ |
Method Details
| public static useInlineJs ( boolean $enabled ) | ||
| $enabled | boolean | |
public function useInlineJs(bool $enabled): static
{
$new = clone $this;
$new->useInlineJs = $enabled;
return $new;
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.