You are here

protected function SortableHtmlList::javascriptSelector in Sortableviews 8

Returns Sizzle/CSS compatible selector.

The selector to the container of sortable elements starting from .view-content.

Return value

string The selector (any string) or literally "self" when the actual container is .view-content itself.

Overrides SortableViewsStyleTrait::javascriptSelector

File

src/Plugin/views/style/SortableHtmlList.php, line 28

Class

SortableHtmlList
Style plugin to render each item in an ordered or unordered list.

Namespace

Drupal\sortableviews\Plugin\views\style

Code

protected function javascriptSelector() {
  return 'ul, ol';
}