You are here

public function GridStackEnginePluginBase::getSmallestBreakpoint in GridStack 8.2

Returns the smallest breakpoint, xs or sm.

File

src/GridStackEnginePluginBase.php, line 199

Class

GridStackEnginePluginBase
Provides base class for all gridstack layout engines.

Namespace

Drupal\gridstack

Code

public function getSmallestBreakpoint() {
  $keys = array_keys($this->sizes);
  return $keys[0];
}