method addClass documentation in bbn\Html\Element

function($class) { $this->attr['class'] = $class; } else{ $cls = explode(" ", $this->attr['class']); if ( !\in_array($class, $cls) ){ $this->attr['class'] .= ' '.$class; } } $this->update(); return $this; }

BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.