LabCodeDev / LabCodeDev/labGrilla

Idea 1

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

El componente debería de funcionar atraves de un arreglo.

frutas = ["Manzana", "Pera", "Piña", "Pepino"];

<labgrilla #frutas [list]="frutas" (selectItem)="SelectItemEmit($event)"></labgrilla>

image

Además se requiere que sea posible seleccionar un item atraves de las flechas del teclado.

  • El item en el cual estamos posicionados debería de resaltar entre los demás.
  • La selección sera atraves de la tecla enter o el click derecho del ratón.
    image

Responsive Design
Este componente debe de ser responsivo.

  • Si mi pantalla de navegador es mayor a 1200px deberia mostrarse 12 items por fila.
  • Si mi pantalla de navegador es menor a 1201px y mayor a 1000px deberia mostrarse 10 items por fila.
  • Si mi pantalla de navegador es menor a 1001px y mayor a 800px deberia mostrarse 8 items por fila.
  • Si mi pantalla de navegador es menor a 801px y mayor a 600px deberia mostrarse 6 items por fila.
  • Si mi pantalla de navegador es menor a 601px y mayor a 500px deberia mostrarse 5 items por fila.
  • Si mi pantalla de navegador es menor a 501px y mayor a 400px deberia mostrarse 4 items por fila.
  • Si mi pantalla de navegador es menor a 401px y mayor a 300px deberia mostrarse 3 items por fila.
  • Si mi pantalla de navegador es menor a 301px y mayor a 200px deberia mostrarse 2 items por fila.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the labgrilla component and its existing list and selectItem entry points. Check how the component currently renders items, then verify that array input, keyboard selection and highlighting, Enter or right-click selection, and the listed responsive items-per-row breakpoints are covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.