Interface Yiisoft\Yii\DataView\UseInlineJsInterface
| Implemented by | Yiisoft\ |
|---|
Interface for widgets that can toggle inline JavaScript, e.g. an onchange attribute, on or off.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| useInlineJs() | Returns a new instance with inline JavaScript enabled or disabled. | Yiisoft\ |
Method Details
Returns a new instance with inline JavaScript enabled or disabled.
| public abstract static useInlineJs ( boolean $enabled ) | ||
| $enabled | boolean |
Whether to render inline JavaScript ( |
| return | static |
New instance with the specified setting. |
|---|---|---|
public function useInlineJs(bool $enabled): static;
User Contributed Notes
Leave a comment
Join the conversation to share a note.