MaximeRainville\SilverstripeReact\Tests\Components\GenericComponent
Synopsis
class GenericComponent
extends ViewableData
{
- // methods
- public void getProps()
- public void getComponent()
- // Inherited methods from BootstrapComponent
- public void forTemplate()
- public void getTemplates()
- public void getAttributesHTML()
- public $this setAttribute()
- public string getAttribute()
- public array getAttributes()
- public string extraClass()
- public $this addExtraClass()
- public $this removeExtraClass()
- public abstract void getProps()
- public abstract void getComponent()
Hierarchy
Members
protected
- $attributes
- $extraClasses
Methods
public
Inherited from MaximeRainville\SilverstripeReact\BootstrapComponent
public
- addExtraClass() — Add a CSS-class to the form-container. If needed, multiple classes can be added by delimiting a string with spaces.
- extraClass() — Compiles all CSS-classes.
- forTemplate()
- getAttribute()
- getAttributes()
- getAttributesHTML()
- getComponent()
- getProps()
- getTemplates()
- removeExtraClass() — Remove a CSS-class from the form-container. Multiple class names can be passed through as a space delimited string
- setAttribute()