홈 › Components › Free Response (자유 답변) › 화면 9
화면 9. Input.hidden [sink]
원본: Computation Layer 문서(Free Response (자유 답변)) · Try It (원본 화면)
| 화면 번호 | 9 / 9 |
|---|---|
| 문서 항목 설명 (원문) | hidden When true, this component will not be shown to students. |
1. 화면 캡처 (빨간 번호 = 아래 표의 번호)
2. CL이 입력된 곳
| 번호 | 이름 | 종류 | CL 코드 원문, 번역, 설명 |
|---|---|---|---|
| 1 | 레이블 없는 메모 | 메모 | # Creates a variable that displays the content from the # input only after it has been submitted. the "\n" here # add a carriage return in the note (one per "\n"). ▷ 입력칸의 내용을 제출된 뒤에만 보여 주는 변수를 만든다. 여기의 "\n"은 메모에서 줄바꿈을 하나 넣는다("\n" 하나당 줄바꿈 하나). Content = when input1.submitted "\n\nYour explanation:\n${input1.content}" otherwise "" ▶ 변수 Content는 input1이 제출되었으면 "\n\nYour explanation:\n${input1.content}"(빈 줄 뒤에 너의 설명:, 줄바꿈 뒤에 학생이 입력한 내용)로, 그렇지 않으면 빈 글자로 한다. |
| 2 | input1 | 자유 답변 | # Hides the component after it has been submitted ▷ 제출된 뒤에는 이 구성요소를 숨긴다. hidden: this.timeSinceSubmit() > 0 ▶ 자유 답변의 숨김 조건(hidden)은 이 구성요소의 제출 버튼을 누른 뒤 지난 시간이 0보다 클 때( |