mirror of
https://github.com/material-components/material-web.git
synced 2024-09-11 13:46:10 +03:00
Merge pull request #5080 from datvm:correct-progress-buffer-doc
PiperOrigin-RevId: 576191728
This commit is contained in:
commit
b5bab09ed0
@ -388,7 +388,7 @@ Token | Default value
|
|||||||
|
|
||||||
Property | Attribute | Type | Default | Description
|
Property | Attribute | Type | Default | Description
|
||||||
--- | --- | --- | --- | ---
|
--- | --- | --- | --- | ---
|
||||||
`buffer` | `buffer` | `number` | `1` | Buffer amount to display, a fraction between 0 and 1.
|
`buffer` | `buffer` | `number` | `1` | Buffer amount to display, a fraction between 0 and `max`.
|
||||||
`value` | `value` | `number` | `0` | Progress to display, a fraction between 0 and `max`.
|
`value` | `value` | `number` | `0` | Progress to display, a fraction between 0 and `max`.
|
||||||
`max` | `max` | `number` | `1` | Maximum progress to display, defaults to 1.
|
`max` | `max` | `number` | `1` | Maximum progress to display, defaults to 1.
|
||||||
`indeterminate` | `indeterminate` | `boolean` | `false` | Whether or not to display indeterminate progress, which gives no indication to how long an activity will take.
|
`indeterminate` | `indeterminate` | `boolean` | `false` | Whether or not to display indeterminate progress, which gives no indication to how long an activity will take.
|
||||||
|
@ -15,7 +15,7 @@ import {Progress} from './progress.js';
|
|||||||
*/
|
*/
|
||||||
export class LinearProgress extends Progress {
|
export class LinearProgress extends Progress {
|
||||||
/**
|
/**
|
||||||
* Buffer amount to display, a fraction between 0 and 1.
|
* Buffer amount to display, a fraction between 0 and `max`.
|
||||||
*/
|
*/
|
||||||
@property({type: Number}) buffer = 1;
|
@property({type: Number}) buffer = 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user