mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
fix missing components and format number (#393)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: Checkbox
|
||||
description: Checkboxes allow the user to toggle an option on or off.
|
||||
tags: forms
|
||||
tags: component
|
||||
native: checkbox
|
||||
---
|
||||
|
||||
@@ -93,4 +93,4 @@ Use the `setCustomValidity()` method to set a custom validation message. This wi
|
||||
});
|
||||
});
|
||||
</script>
|
||||
```
|
||||
```
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: Range
|
||||
description: Ranges allow the user to select a single value within a given range using a slider.
|
||||
tags: forms
|
||||
tags: component
|
||||
native: slider
|
||||
---
|
||||
|
||||
@@ -114,4 +114,4 @@ The component adapts to right-to-left (RTL) languages as you would expect.
|
||||
label="مقدار"
|
||||
hint="التحكم في مستوى صوت الأغنية الحالية."
|
||||
style="--track-color-active: var(--wa-color-brand-fill-loud)" value="10"></wa-range>
|
||||
```
|
||||
```
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: Select
|
||||
description: Selects allow you to choose items from a menu of predefined options.
|
||||
tags: forms
|
||||
tags: component
|
||||
native: select
|
||||
---
|
||||
|
||||
@@ -420,4 +420,4 @@ This can be hard to conceptualize, so heres a fairly large example showing how l
|
||||
// TODO - remove once we switch to the Popover API
|
||||
//
|
||||
document.querySelectorAll('wa-code-demo [slot="preview"] wa-select').forEach(select => select.hoist = true);
|
||||
</script>
|
||||
</script>
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: Textarea
|
||||
description: Textareas collect data from the user and allow multiple lines of text.
|
||||
tags: forms
|
||||
tags: component
|
||||
icon: textarea
|
||||
native: input
|
||||
---
|
||||
@@ -114,4 +114,4 @@ Textareas can be made to resize both vertically and horizontally when `resize` i
|
||||
|
||||
```html {.example}
|
||||
<wa-textarea resize="both"></wa-textarea>
|
||||
```
|
||||
```
|
||||
@@ -34,10 +34,10 @@ export default class WaFormatNumber extends WebAwesomeElement {
|
||||
/** The minimum number of integer digits to use. Possible values are 1-21. */
|
||||
@property({ attribute: 'minimum-integer-digits', type: Number }) minimumIntegerDigits: number;
|
||||
|
||||
/** The minimum number of fraction digits to use. Possible values are 0-20. */
|
||||
/** The minimum number of fraction digits to use. Possible values are 0-100. */
|
||||
@property({ attribute: 'minimum-fraction-digits', type: Number }) minimumFractionDigits: number;
|
||||
|
||||
/** The maximum number of fraction digits to use. Possible values are 0-0. */
|
||||
/** The maximum number of fraction digits to use. Possible values are 0-100. */
|
||||
@property({ attribute: 'maximum-fraction-digits', type: Number }) maximumFractionDigits: number;
|
||||
|
||||
/** The minimum number of significant digits to use. Possible values are 1-21. */
|
||||
|
||||
Reference in New Issue
Block a user