Image
OImageComponent
Directive: o-image
Inherited inputs
- from FormDataComponent:
- attr
- automatic-binding
- automatic-registering
- clear-button
- data
- enabled
- hide-required-marker
- label
- label-visible
- read-only
- required
- sql-type
- tooltip
- tooltip-position
- tooltip-show-delay
- validators
- width
Inputs
Name | Since | Description | Default |
---|---|---|---|
accept-file-type string |
| File types allowed on the image input, serparated by ‘;’. Accepted values: | image/* |
auto-fit no | false | yes | true |
| Indicates whether or not the image size is automatically adjusted | yes |
empty-icon string |
| Name of google icon (see Google material design icons) displayed when the component has no value |
|
empty-image string |
| Image displayed when the component has no value. It has preference over the |
|
full-screen-button no | false | yes | true |
| Indicates whether or not to show the maximize button | no |
height number |
| Indicates the height of image component in pixels (px) or percentage (%) |
|
max-file-size number |
| Maximum file size (bytes) allowed |
|
not-found-image string |
| Image displayed when the component value returns a 404 error. |
|
show-controls no | false | yes | true |
| Indicates whether or not to show the selection controls | yes |
Inherited outputs
- from FormDataComponent:
- onBlur
- onChange
- onFocus
- onValueChange