Class: TakePhotoImageOqt

.Components.Input.TakePhotoImageOqt(src, strstyle, class_name, alt, width, height, auto_submit)

new TakePhotoImageOqt(src, strstyle, class_name, alt, width, height, auto_submit)

Componente que renderiza un img para cargar una imagen

Parameters:
Name Type Description
src string

valor por defecto, se muestra cuando no hay imagen cargada

strstyle string

estilos css

class_name string

clases

alt string

atributo alt que se dara a la imagen

width string

ancho

height string

alto

auto_submit "true" | "false"

determina si al cargar una foto automaticamente se hace submit del form que contiene al control

Source:
Example
<form action="MenuPerfilFoto" target="menu">
  <take_photo_oqt name="fotoPerfil" value="" disabled="false" auto_submit="false">
    <take_photo_img_oqt strstyle="object-fit: cover;" alt="img" height="180" width="180" class_name="mx-auto rounded-circle mt-n5 shadow-l" src="{{fotoUsuario}}" />
  </take_photo_oqt>
</form>