JavaScript Indexing

settings_applicationsEventTarget  >   settings_applicationsNode  >   settings_applicationsElement  >   settings_applicationsHTMLElement  >   settings_applicationsHTMLInputElement  >   settings_applications[[Prototype]]

{object_name}

Editing

stepDown([numberstepDecrement])

Details

숫자 유형의 <input> 요소의 값을 HTML step 애트리뷰트 값 만큼 감소시킨다. 인수가 지정된 경우 step 애트리뷰트의 최대 n 배수까지 감소 시킨다.

구문

형식
htmlInputElement.stepDown([stepDecrement])

매개 변수

numberstepDecrement선택
기본값1

값의 유형이 float이면Math.floor(stepDecrement)의 결과값이 지정된 것처럼 값이 감소한다. 음수의 경우는 반대로 값이 증가하는 결과를 만든다.

지원 웹브라우저