← 수업 제작 도구
홈 › Index › buttonStyles (type)

buttonStyles (type) (타입 buttonStyles)

원본: Computation Layer 문서(buttonStyles (type))

코드 안의 회색 줄은 원문 영어 주석이고, 파란 줄은 그 영어 주석의 번역이며, 연분홍 줄은 코드가 하는 일의 설명이다. 항목 설명은 번역이 아니라 해석이며 원문은 접어 둔 "원문(영어) 보기"에 있다.

Desmos 버튼 스타일을 담고 있다.

원문(영어) 보기

Contains the Desmos button styles.

속성(Attributes)

red type:buttonStyles:red

빨간 스타일 버튼.

원문(영어) 보기

The red style button.

# This code makes the button red
▷ 이 코드는 버튼을 빨간색으로 만든다.
style: buttonStyles.red
▶ 행동 버튼의 스타일(style)은 buttonStyles.red, 즉 빨간 버튼 스타일로 한다.
style은 버튼 스타일을 정하고, buttonStyles는 Desmos 버튼 스타일을 담고 있다.

default type:buttonStyles:default

기본 스타일 버튼.

원문(영어) 보기

The default style button.

# This code sets the button to its default styling.
▷ 이 코드는 버튼을 기본 스타일로 정한다.

style: buttonStyles.default
▶ 행동 버튼의 스타일(style)은 buttonStyles.default, 즉 기본 스타일로 한다.
style은 버튼 스타일을 정하고, buttonStyles는 Desmos 버튼 스타일을 담고 있다.

white type:buttonStyles:white

흰색 스타일 버튼.

원문(영어) 보기

The white style button.

# This code makes the button white.
▷ 이 코드는 버튼을 흰색으로 만든다.

style: buttonStyles.white
▶ 행동 버튼의 스타일(style)은 buttonStyles.white, 즉 흰색 스타일로 한다.
style은 버튼 스타일을 정하고, buttonStyles는 Desmos 버튼 스타일을 담고 있다.