girolando/componente-animal is a Laravel package for componentes girolando - animal.
It currently has 0 GitHub stars and 471 downloads on Packagist (latest version 1.3.4).
Install it with composer require girolando/componente-animal.
Discover more Laravel packages by girolando
or browse all Laravel packages to compare alternatives.
Last updated
{!! ComponenteAnimal::init() !!} <!-- IMPORTANTE -->
<button class="btnBuscaAnimal">Buscar Animal</button>
<componente type="animal" name="codigoAnimal" dispatcher-button=".btnBuscaAnimal" />
<script>
const componente = Componente.AnimalFactory.get('codigoAnimal');
componente.addEventListener(Componente.EVENTS.ON_FINISH, function(animal) {
console.log('O animal selecionado foi: ', animal);
});
</script>
const componente = Componente.AnimalFactory.get('nome-do-seu-componente');
const animalEspecifico = await componente.findBy({registroAnimal: '1010-AX'});