홈 › Components › Sketch (그림판) › 화면 17
화면 17. Sketch.disableSketch [sink]
원본: Computation Layer 문서(Sketch (그림판)) · Try It (원본 화면)
| 화면 번호 | 17 / 34 |
|---|---|
| 문서 항목 설명 (원문) | disableSketch Sets whether drawing on a sketch is permitted. |
1. 화면 캡처 (빨간 번호 = 아래 표의 번호)
2. CL이 입력된 곳
| 번호 | 이름 | 종류 | CL 코드 원문, 번역, 설명 |
|---|---|---|---|
| 1 | 레이블 없는 그림판 | 그림판 | # This code will disable the ability to manipulate # the sketch component after 5 strokes have been made. ▷ 이 코드는 획이 5개 그려진 뒤에는 그림판 구성요소를 조작할 수 없게 한다. disableSketch: this.sketch.strokeCount >= 5 ▶ 그림 그리기 금지(disableSketch)는 |