Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

343
Visualizações
How can I determine which parameters are allowed in a HTML tag?

I have an assessment to make, but I am not sure whether or not this question is using the wrong terms? Because I feel like it should ask me which attributes are allowed, or am I just clueless?

Here is the literal translation of the question:

In Laravel Blade you see the following code:

 <x-form name="myform" id="1"></x-form>

How do you determine which other parameters are allowed in this HTML tag?

I was thinking a querySelector can be useful here, but I am not sure.

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

As this is a Laravel component basically you are allowed unlimited attributes in components because it totally depends on your logic. The number of attributes you define in your component class can be used here. You can get more information on Laravel documentation.

https://laravel.com/docs/9.x/blade#components

about 4 years ago · Juan Pablo Isaza Relatório

0

The trick in this question is that it tests your knowledge about Blade Components. So the valid answer will be: <x-form> is custom Blade Component, so i will go into default components directory (which is App\View\Components) and see the definition of the component with all valid attributes.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda