PHP 클래스 macgyer\yii2materializecss\widgets\Progress

Use this widget to give the user feedback about the loading of content or if you have actions that require multiple steps to complete. There are two types of progress bars available: - inderterminated with an animated recurring bar - determinated with a defined length For an indeterminated progress bar simply add the following php To render an determinated progress bar with an initial value set [[value]] to the desired value and change [[type]] to "determinate" php 'determinate', 'value' => 10 ]) ?>
부터: 1.0.2
저자: Christoph Erdmann ([email protected])
상속: extends macgyer\yii2materializecss\lib\BaseWidget
파일 보기 프로젝트 열기: macgyer/yii2-materializecss

공개 프로퍼티들

프로퍼티 타입 설명
$options the HTML attributes for the widget container tag
$progressOptions the HTML attributes for the progress tag.
$type the type of the progress bar. The following options are supported: - indeterminate (default) - determinate
$value the (initial) value for 'determinate' progress bars. The supported range is [0 ... 100]. This value will be applied as inline CSS style to show the progress:

공개 메소드들

메소드 설명
init ( ) Initializes the widget.
run ( ) : string Executes the widget.

메소드 상세

init() 공개 메소드

Initializes the widget.
public init ( )

run() 공개 메소드

Executes the widget.
public run ( ) : string
리턴 string the result of widget execution to be outputted.

프로퍼티 상세

$options 공개적으로 프로퍼티

the HTML attributes for the widget container tag
또한 보기: [yii\helpers\BaseHtml::renderTagAttributes()](http://www.yiiframework.com/doc-2.0/yii-helpers-basehtml.html#renderTagAttributes()-detail) for details on how attributes are being rendered.
public $options

$progressOptions 공개적으로 프로퍼티

the HTML attributes for the progress tag.
또한 보기: [yii\helpers\BaseHtml::renderTagAttributes()](http://www.yiiframework.com/doc-2.0/yii-helpers-basehtml.html#renderTagAttributes()-detail) for details on how attributes are being rendered.
public $progressOptions

$type 공개적으로 프로퍼티

the type of the progress bar. The following options are supported: - indeterminate (default) - determinate
또한 보기: http://materializecss.com/preloader.html
public $type

$value 공개적으로 프로퍼티

the (initial) value for 'determinate' progress bars. The supported range is [0 ... 100]. This value will be applied as inline CSS style to show the progress:
또한 보기: http://materializecss.com/preloader.html
public $value