Documentation

BX.SidePanel.Slider

Class of specific slider representation. Handling of objects belonging to this class mainly occurs in the event handlers.

Method Description Available from version
slider.open()
Opens the slider.
slider.close(
   [immediately=false]
)
Closes the slider. Parameter immediately {boolean} - To close the slider instantaneously, without animation.
slider.destroy()
Eliminates slider on the page.
slider.isDestroyed()
Returns true, if the slider was eliminated.
slider.getUrl()
Returns the address of slider or its ID.
slider.focus()
Puts focus on the slider's iframe.
slider.isOpen()
Returns true, if the slider is open
slider.getData()
Returns instance of the BX.SidePanel.Dictionary class with the collection of the slider data.
slider.getZindex()
Returns z-index of the slider.
slider.getFrame()
Returns link to the iframe.
slider.getFrameWindow()
Returns link to an iframe window.
slider.getWindow()
Similar to getFrameWindow(), but in case of slider with arbitrary content, returns link to the parent window.
slider.isCacheable()
Returns false, if the slider will be eliminated after closure.
slider.showLoader()
Shows the slider's loader.
slider.closeLoader()
Hides the slider's loader.
.

© «Bitrix24», 2001-2024
Up