Classroom
Takes attendance on a seating plan.
kor/ui/ClassroomSource
When to use
- Use it for classes and training sessions.
Examples
Attendance
<k:Classroom title="9A" board="Mathematics" columns="4">
<k:Student key="1" name="Ada Yılmaz" state="present"/><k:Student key="2" name="Can Koç" state="late"/><k:Student key="3" name="Deniz Ak" state="absent"/><k:Student key="4" name="Ece Tan"/>
<k:Student key="5" name="Mert Aksoy"/><k:Student key="6" name="Nil Su"/><k:Student key="7" name="Ozan Er"/><k:Student key="8" name="Pelin Ay"/>
</k:Classroom>
API
Properties
| Name | Type | Default | Description |
|---|
title | string | | Class |
columns | int | 6 | Seats per row |
board | string | | Text on the board |
readOnly | boolean | false | Whether it is display only |
Aggregations
| Name | Type | Description |
|---|
students | Student[] | Students from front to back |
Events
| Name | Type | Description |
|---|
change | key: string
state: string | Attendance changed |
Student
A student.
Properties
| Name | Type | Default | Description |
|---|
key | string | | Key |
name | string | | Name |
state | string | | present, late, absent or empty |
Related
TimetableCoursePath