You are here

public function GridStackNative::attach in GridStack 8.2

Provides gridstack skins and libraries.

Overrides GridStackBase::attach

File

src/Plugin/gridstack/engine/GridStackNative.php, line 33

Class

GridStackNative
Provides a GridStack native CSS Grid layout engine.

Namespace

Drupal\gridstack\Plugin\gridstack\engine

Code

public function attach(array &$load, array $attach = []) {
  parent::attach($load, $attach);
  $load['library'][] = 'gridstack/native';
}