홈 › Components › Polypad
Polypad
원본: Computation Layer 문서(Polypad). 문서의 Try It 예제가 가리키는 화면 9개를 기록했고, 화면마다 CL 코드를 한국어로 풀어 썼다.
| 화면 | 이름 | CL 수 | 문서 항목 설명 (원문 일부) |
|---|---|---|---|
| 1 | Drag this shape to see it mirrored on the next screen. | 0 | (이 화면은 문서 항목의 Try It과 연결되지 않은 앞 화면이다. polypadInitial이라는 Polypad만 있고 CL은 없다.) |
| 2 | Polypad.polypadState / initialState [source/sink] | 1 | initialState Sets the initial Polypad state. This will not affect the customization options in the settings menu. |
| 3 | Polypad.value [source] | 1 | (문서의 Polypad 항목 표에 value 항목이 없어 연결된 설명이 없다.) |
| 4 | Polypad.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… |
| 5 | Polypad.isInitialState [source] | 2 | isInitialState Gets a Boolean value that indicates whether the student has interacted with the Polypad. |
| 6 | Polypad.hidden [sink] | 1 | hidden When true, this component will not be shown to students. |
| 7 | Polypad.narration [sink] | 1 | narrationnarrationIndex: number Text that screen readers will read aloud. Similar to image alt text, narration can be used to describe a pol… |
| 8 | Polypad.warning [sink] | 1 | warning Sets a string that is displayed as a tooltip in the teacher dashboard attached to a warning icon. |
| 9 | Polypad.readOnly [sink] | 2 | readOnly Sets a Boolean value that determines whether or not a component will be ignored when determining a screen's correctness. If all com… |
화면은 없지만 문서에 있는 항목 (6개)
| 종류 | 이름 | 한국어 해석 | 영어 원문 |
|---|---|---|---|
| sink | initialViewport | Polypad의 처음 보이는 영역(viewport)을 정한다. | Sets the initial Polypad viewport. |
| sink | customConfetti | 색종이 조각(confetti)으로 쓸 이모지를 정한다. | Sets emoji to be used as confetti particles. |
| sink | textVariable(textVariableName: string) | Polypad 글 변수(text variable)를 정한다. 글 변수는 글 타일의 내용을 정하는 데 쓸 수 있다. | Sets a Polypad text variable. Text variables can be used to set the content of a text tile. |
| sink | interactivityVariable(interactivityVariableName: string) | Polypad 상호작용 변수(interactivity variable)를 정한다. 상호작용 변수는 타일의 상호작용 상태를 조절하는 데 쓸 수 있다. 쓸 수 있는 값은 "normal", "locked", "fixed", "generator", "permanent"이다. | Sets a Polypad interactivity variable. Interactivity variables can be used to control the interactivity status of tiles. Valid values are "normal", "locked", "fixed", "generator", and "permanent". |
| sink | visibilityVariable(visibilityVariableName: string) | Polypad 표시 변수(visibility variable)를 정한다. 표시 변수는 타일을 보일지 숨길지 조절하는 데 쓸 수 있다. 쓸 수 있는 값은 "visible"과 "hidden"이다. | Sets a Polypad visibility variable. Visibility variables can be used to control the visibility of tiles. Valid values are "visible" and "hidden". |
| sink | resetOnChange | 글자 값을 정한다. 그 값이 바뀌면 구성요소가 재설정된다. | Specify a string value. If that value changes, the component resets. |