Merge pull request #5080 from datvm:correct-progress-buffer-doc

PiperOrigin-RevId: 576191728
This commit is contained in:
Copybara-Service 2023-10-24 10:44:39 -07:00
commit b5bab09ed0
2 changed files with 2 additions and 2 deletions

View File

@ -388,7 +388,7 @@ Token | Default value
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`.
`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.

View File

@ -15,7 +15,7 @@ import {Progress} from './progress.js';
*/
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;