The API should support returning values, like jQuery does with .val() it will return the first element's value
Using a dedicated API on the plugin is much better than going in with .data('oc...') to access the object which is hacky since the internals might change
|
||
|---|---|---|
| .. | ||
| assets | ||
| behaviors | ||
| classes | ||
| console | ||
| controllers | ||
| database | ||
| helpers | ||
| lang | ||
| models | ||
| partials | ||
| reportwidgets | ||
| traits | ||
| twig | ||
| views | ||
| ServiceProvider.php | ||
| aliases.php | ||
| composer.json | ||
| providers.php | ||
| routes.php | ||