girolando / componente-animal
Componentes Girolando - Animal
Installs: 470
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 1
pkg:composer/girolando/componente-animal
Requires
- php: >=5.6.0
- girolando/api-clientlayer: ^1.2
- girolando/base-component: 1.0.x
- girolando/repositories-pattern: ^1.0
- illuminate/routing: 5.1.x
- illuminate/support: 5.1.x
- yajra/laravel-datatables-oracle: ~5.0
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.18
- 1.2.17
- 1.2.16
- 1.2.15
- 1.2.14
- 1.2.13
- 1.2.12
- 1.2.11
- 1.2.10
- 1.2.9
- 1.2.8
- 1.2.7
- 1.2.6
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- dev-master / 1.0.x-dev
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- dev-dependabot/composer/symfony/http-foundation-2.7.51
This package is auto-updated.
Last update: 2025-10-09 01:50:46 UTC
README
Utilização
{!! 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>
Método findBy
const componente = Componente.AnimalFactory.get('nome-do-seu-componente'); const animalEspecifico = await componente.findBy({registroAnimal: '1010-AX'});