ESP32 Platform Documentation

ExampleDashboardModule extends DashboardModule

Dashboard Module

Table of Contents

Properties

$css_class  : string
Custom css class
$data  : mixed
Used for the view
$sort  : int
Sort order
$visible  : bool
Visiblity state, default is true

Methods

getCssClass()  : string
Returns custom css class
getSort()  : int
Returns sort order
getVisibility()  : bool
Returns true if module is visible, false if not
index()  : string

Properties

$visible

Visiblity state, default is true

protected bool $visible = true

Methods

getCssClass()

Returns custom css class

public getCssClass() : string
Return values
string

getSort()

Returns sort order

public getSort() : int
Return values
int

getVisibility()

Returns true if module is visible, false if not

public getVisibility() : bool
Return values
bool

        
On this page

Search results