화면 5. Polypad.isInitialState [source]
원본: Computation Layer 문서(Polypad) · Try It (원본 화면)
| 화면 번호 | 5 / 9 |
|---|
| 문서 항목 설명 (원문) | isInitialState Gets a Boolean value that indicates whether the student has interacted with the Polypad. |
|---|
1. 화면 캡처 (빨간 번호 = 아래 표의 번호)

화면을 아래로 스크롤한 캡처이다. 빨간 번호 2은 위 캡처에서 보이지 않던 구성요소이다.
화면에 적힌 영어 문구(원문):
- Roll the dice.
- Enter the number you see.
2. CL이 입력된 곳
코드 안의 회색 줄은 원문 영어 주석이고, 파란 줄은 그 영어 주석의 번역이며, 연분홍 줄은 코드가 하는 일의 설명이다.
| 번호 | 이름 | 종류 | CL 코드 원문, 번역, 설명 |
| 1 | 레이블 없는 메모 | 메모 | # Here we hide the note component when the Polypad
# component has not been interacted with.
▷ Polypad 구성요소를 조작하지 않았을 때 메모 구성요소를 숨긴다.
hidden: polypad.isInitialState
▶ 메모의 숨김 조건(hidden)은 polypad.isInitialState로 한다.
isInitialState는 학생이 Polypad와 상호작용했는지를 참/거짓으로 알려 준다.
|
| 2 | input | 수식 답변 | hidden: polypad.isInitialState
▶ 수식 답변의 숨김 조건(hidden)은 메모와 같은 값 polypad.isInitialState로 한다.
|