packagefactory/atomicfusion-classnames

Letzte Aktivität 23 Apr 2025 2 122670
composer require packagefactory/atomicfusion-classnames

ÈEl Helper for rendering of classNames in atomic fusion

v1.0.1

Version
v1.0.1
Type
neos-package
Release Date
Dec 16, 2020 16:13
Source
git
Distribution
zip
Requires
  • neos/fusion: ^3.3 || ^4.0 || ^5.0 || ^7.0 || dev-master
GPL-3.0 f6cf85007604a02dd3144f69c0949b14abb38731

Readme excerpt

PackageFactory.AtomicFusion.ClassNames

ÈEl Helper for rendering of classNames in atomic fusion

EEL-Helpers
  • AtomicFusion.classNames: render all arguments as classNames and apply conditions if needed

All arguments of the AtomicFusion.classNames eelHelper are evaluated and the following rules are applied

  • falsy values: (null, '', [], {}) are not rendererd
  • array: all items that are scalar and truthy are rendered as class-name
  • object: keys that have a truthy values are rendered as class-name
  • scalar: is cast to string and rendered as class-name
Usage 1. Component definition prototype(Vendor.Site:Component) < p…
Read more
The content of the readme is provided by an external source, which we have no control over. Check out the actual readme at its source.
The same vendor provides 7 package(s).