Support Menu

Class ResponsiveComponents

Class ResponsiveComponents

This class serves as a way to get and set the different screen size breakpoints for the interface.

By settings those, you can impact, amongst other, the Facet, Tab or ResultList behaviour.

For example, the Facet components of your interface will switch to a dropdown menu when the screen size reaches 800px or less.

You could modify this value using this calls

Normally, you would interact with this class using the instance bound to SearchInterface.responsiveComponents

Index

Methods

getMediumScreenWidth

  • getMediumScreenWidth(): number

getSmallScreenWidth

  • getSmallScreenWidth(): number

isLargeScreenWidth

  • isLargeScreenWidth(): boolean

isMediumScreenWidth

  • isMediumScreenWidth(): boolean

isSmallScreenWidth

  • isSmallScreenWidth(): boolean

setMediumScreenWidth

  • setMediumScreenWidth(width: number): void

setSmallScreenWidth

  • setSmallScreenWidth(width: number): void

Hierarchy

  • ResponsiveComponents