picea-ui/docs/10-ui-image.md

12 lines
281 B
Markdown
Raw Normal View History

# `ui.image` (string $source, array $attributes = [], array $options = [])
Built on top of `ui.input`.
The following attributes are assigned by this extension :
- `'class' => "ui-image"`
and will typically be rendered such as :
```html
<img class="ui-image" src="$source">
```