概述
取消用setInterval
设置的重复定时任务。
语法
window.clearInterval(intervalID)
intervalID
是你想要取消的定时器的ID,这个ID是个整数,是由setInterval()返回的
.
示例
规范
DOM Level 0 不属于任何标准.
取消用setInterval
设置的重复定时任务。
window.clearInterval(intervalID)
intervalID
是你想要取消的定时器的ID,这个ID是个整数,是由setInterval()返回的
.
DOM Level 0 不属于任何标准.
Window
Window.applicationCache
Window.caches
Window.closed
Window.controllers
Window.crypto
Window.defaultStatus
Window.devicePixelRatio
Window.dialogArguments
Window.directories
Window.document
Window.frameElement
Window.frames
Window.fullScreen
Window.history
Window.innerHeight
Window.innerWidth
Window.length
Window.localStorage
Window.location
Window.locationbar
Window.menubar
Window.messageManager
Window.mozAnimationStartTime
Window.mozInnerScreenX
Window.mozInnerScreenY
Window.mozPaintCount
Window.name
Window.navigator
GlobalEventHandlers.onabort
WindowEventHandlers.onafterprint
WindowEventHandlers.onbeforeunload
GlobalEventHandlers.onblur
GlobalEventHandlers.onchange
GlobalEventHandlers.onclick
GlobalEventHandlers.onclose
GlobalEventHandlers.oncontextmenu
GlobalEventHandlers.ondblclick
Window.ondevicelight
Window.ondevicemotion
Window.ondeviceorientation
Window.ondeviceproximity
Window.ondragdrop
GlobalEventHandlers.onerror
GlobalEventHandlers.onfocus
WindowEventHandlers.onhashchange
GlobalEventHandlers.oninput
GlobalEventHandlers.onkeydown
GlobalEventHandlers.onkeypress
GlobalEventHandlers.onkeyup
WindowEventHandlers.onlanguagechange
GlobalEventHandlers.onload
GlobalEventHandlers.onmousedown
GlobalEventHandlers.onmousemove
GlobalEventHandlers.onmouseout
GlobalEventHandlers.onmouseover
GlobalEventHandlers.onmouseup
Window.onmozbeforepaint
Window.onmoztimechange
Window.onpaint
WindowEventHandlers.onpopstate
GlobalEventHandlers.onreset
GlobalEventHandlers.onresize
GlobalEventHandlers.onscroll
GlobalEventHandlers.onselect
GlobalEventHandlers.onsubmit
WindowEventHandlers.onunload
Window.onuserproximity
Window.opener
Window.outerHeight
Window.outerWidth
Window.parent
Window.performance
Window.personalbar
Window.pkcs11
Window.screen
Window.screenX
Window.screenY
Window.scrollbars
Window.scrollMaxX
Window.scrollMaxY
Window.scrollX
Window.scrollY
Window.self
Window.sessionStorage
Window.status
Window.statusbar
Window.toolbar
Window.top
Window.URL
Window.window
Window.alert()
WindowBase64.atob()
Window.back()
Window.blur()
WindowBase64.btoa()
Window.cancelAnimationFrame()
Window.captureEvents()
Window.clearImmediate()
WindowTimers.clearInterval()
WindowTimers.clearTimeout()
Window.close()
Window.confirm()
Window.convertPointFromNodeToPage()
Window.dump()
GlobalFetch.fetch()
Window.find()
Window.focus()
Window.forward()
Window.getAttention()
Window.getComputedStyle()
Window.getDefaultComputedStyle()
Window.getSelection()
Window.home()
Window.importDialog()
Window.matchMedia()
Window.minimize()
Window.moveBy()
Window.moveTo()
Window.open()
Window.openDialog()
Window.postMessage()
Window.print()
Window.prompt()
Window.releaseEvents()
Window.requestAnimationFrame()
Window.resizeBy()
Window.resizeTo()
Window.restore()
Window.routeEvent()
Window.scroll()
Window.scrollBy()
Window.scrollByLines()
Window.scrollByPages()
Window.scrollTo()
Window.setCursor()
Window.setImmediate()
WindowTimers.setInterval()
WindowTimers.setTimeout()
Window.showModalDialog()
Window.sizeToContent()
Window.stop()
Window.updateCommands()