Méthode |
Description |
|
__construct ( TimelinePanel $panel, array $config = [] ) |
TimelineDataProvider constructor. |
|
getColor ( array $model ) : string |
Getting HEX color based on model duration |
|
getCssClass ( array $model ) : string |
Returns item, css class |
|
getLeft ( array $model ) : float |
Returns the offset left item, percentage of the total width |
|
getRulers ( integer $line = 10 ) : array |
ruler items, key milliseconds, value offset left |
|
getTime ( array $model ) : float |
Returns item duration, milliseconds |
|
getWidth ( array $model ) : float |
Returns item width percent of the total width |
|