홈 › Components › Ordered List (정렬 리스트)
Ordered List (정렬 리스트)
원본: Computation Layer 문서(Ordered List (정렬 리스트)). 문서의 Try It 예제가 가리키는 화면 11개를 기록했고, 화면마다 CL 코드를 한국어로 풀어 썼다.
| 화면 | 이름 | CL 수 | 문서 항목 설명 (원문 일부) |
|---|---|---|---|
| 1 | Ordered List.matchesKey [source] | 1 | matchesKey Returns whether this matches the key (if provided). |
| 2 | Ordered List.order [source] | 1 | order Returns a numberList of where each item currently is (indexOfItem). |
| 3 | Ordered List.itemAtIndex [source] | 1 | itemAtIndexitemIndex: number Returns the starting item index of the item that's at the given index (indexed starting with 1). |
| 4 | Ordered List.textAtIndex [source] | 1 | textAtIndexitemIndex: number Returns the string for the item that's at the given index (indexed starting with 1). |
| 5 | Ordered List.indexOfItem [source] | 1 | indexOfIteminitialItemIndex: number Returns the sorted index of the item that started with the given index (indexed starting with 1). |
| 6 | Ordered List.initialOrder [sink] | 2 | initialOrder Takes a numberList of where each item should start. Accepts any numberList as an order (with ties leaving two items in order). … |
| 7 | Ordered List.itemContent [sink] | 2 | itemContentitemIndex: number Sets the content for a given item, indexed starting with 1. (This only works if the item at this index exists.) |
| 8 | Ordered List.correct [sink] | 1 | correct Sets a Boolean value that determines whether or not a gray checkmark is displayed for the student's screen in the dashboard's summar… |
| 9 | Ordered List.warning [sink] | 3 | warning Sets a string that is displayed as a tooltip in the teacher dashboard attached to a warning icon. |
| 10 | Ordered List.readOnly [sink] | 1 | readOnly Sets a Boolean value that determines whether or not a component will be ignored when determining a screen's correctness. If all com… |
| 11 | Ordered List.hidden [sink] | 1 | hidden When true, this component will not be shown to students. |