Skip to main content

Flexbox

Views Flexbox: Drupal 8 views style plugin
/** * @file * * Available variables: * - attributes: HTML attributes for the containing element. * - label_hidden: Whether to show the field label or not. * - title_attributes: HTML attributes for the label. * - label: The label for the field. * - content_attributes: HTML attributes for the content. * - items: List of all the field items. Each item contains: * - attributes: List of HTML attributes for each item. * - content: The field item's content. * - entity_type: The entity type to which the field belongs. * - field_name: The name of the field. * - field_type: The type of the field. * - label_display: The display settings for the label. * * @see template_preprocess_field() * @see whirr_preprocess_field__entity_reference() */ #} Drupal 8 /** * @file * * Available variables: * - attributes: HTML attributes for the containing element. * - label_hidden: Whether to show the field label or not. * - title_attributes: HTML attributes for the label. * - label: The label for the field. * - content_attributes: HTML attributes for the content. * - items: List of all the field items. Each item contains: * - attributes: List of HTML attributes for each item. * - content: The field item's content. * - entity_type: The entity type to which the field belongs. * - field_name: The name of the field. * - field_type: The type of the field. * - label_display: The display settings for the label. * * @see template_preprocess_field() * @see whirr_preprocess_field__entity_reference() */ #} Flexbox
The Flexbox CSS spec is now supported by most modern browsers, so it's time to get Drupal 8 Views in the game. This views plug-in gives you a new option for styling your views in Flexbox fashion. Our CSS is based on Lee Jordan's Reflex project - but you're not bound by that. Note: very early days - this is release 0.1.0.
Subscribe to Flexbox