kor TürkçeGitHub

Classroom

Takes attendance on a seating plan.

kor/ui/ClassroomSource

When to use

  • Use it for classes and training sessions.

Examples

Attendance

Loading the example

<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

NameTypeDefaultDescription
titlestringClass
columnsint6Seats per row
boardstringText on the board
readOnlybooleanfalseWhether it is display only

Aggregations

NameTypeDescription
studentsStudent[]Students from front to back

Events

NameTypeDescription
changekey: string
state: string
Attendance changed

Student

A student.

Properties

NameTypeDefaultDescription
keystringKey
namestringName
statestringpresent, late, absent or empty

Related

TimetableCoursePath