Skip to content

Commit

Permalink
fix(progress-indicator): add reflect for props (#297)
Browse files Browse the repository at this point in the history
Reflection is added for properties that are used as CSS selectors in the component.

Fixes #295
  • Loading branch information
muratcorlu authored Oct 19, 2022
1 parent d63c5d6 commit 68cd1b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/progress-indicator/bl-progress-indicator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ export default class BlProgressIndicator extends LitElement {
/**
* Sets the size
*/
@property({ type: String })
@property({ type: String, reflect: true })
size: ProgressIndicatorSize = 'medium';

/**
* Sets the status
*/
@property({ type: Boolean })
@property({ type: Boolean, reflect: true })
failed = false;

/**
Expand Down

0 comments on commit 68cd1b2

Please sign in to comment.