Merge pull request #230 in YR/star-web-components from add-disabled-attribute to master

* commit '5009bc9a9e883bbec293caded0869f7db3881480':
  为brightnessSlider添加disabled属性
This commit is contained in:
汪昌棋 2023-01-14 10:08:08 +08:00
commit a897f84af5
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,10 @@ export const sharedStyles: CSSResult = css`
border-radius: var(--auto-16px);
}
:host([disabled='true']) {
pointer-events: none;
}
.progress {
width: var(--cover-length);
height: 100%;