Skip to content

Commit 8443a88

Browse files
authored
Merge pull request #225 from pierangelomiceli/012_mouseeve
Mouse events
2 parents fe7265c + 0997b38 commit 8443a88

File tree

2 files changed

+102
-102
lines changed

2 files changed

+102
-102
lines changed

2-ui/3-event-details/1-mouse-events-basics/01-selectable-list/task.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ importance: 5
22

33
---
44

5-
# Selectable list
5+
# Lista selezionabile
66

7-
Create a list where elements are selectable, like in file-managers.
7+
Creare una lista nella quale gli elementi siano selezionabili, come nei file manager.
88

9-
- A click on a list element selects only that element (adds the class `.selected`), deselects all others.
10-
- If a click is made with `key:Ctrl` (`key:Cmd` for Mac), then the selection is toggled on the element, but other elements are not modified.
9+
- Un click su una lista seleziona solo quell'elemento (aggiunge la classe `.selected`), e deseleziona tutti gli altri.
10+
- Se un click viene fatto insieme a `key:Ctrl` (`key:Cmd` per Mac), allora la seleziona viene alternata sull'elemento, ma gli altri elementi non vengono modificati.
1111

12-
The demo:
12+
La demo:
1313

1414
[iframe border="1" src="solution" height=180]
1515

16-
P.S. For this task we can assume that list items are text-only. No nested tags.
16+
P.S.: Per questo compito possiamo assumere che questi elementi siano composti solamente da testo. Nessun tag annidato.
1717

18-
P.P.S. Prevent the native browser selection of the text on clicks.
18+
P.P.S.: Prevenire la selezione nativa del browser sul testo al click.

0 commit comments

Comments
 (0)