Skip to content

Commit

Permalink
Add/Update component docs
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
  • Loading branch information
florian-h05 committed Oct 1, 2024
1 parent 06a2572 commit 437540a
Show file tree
Hide file tree
Showing 8 changed files with 511 additions and 5 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions bundles/org.openhab.ui/doc/components/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ source: https://github.com/openhab/openhab-webui/edit/main/bundles/org.openhab.u

| Component | Name | Description |
|--------|------|-------------|
| [`oh-card`](./oh-card.html) | [Card](./oh-card.html) | The basic structure of all card widgets, providing title and footer and requiring a content slot |
| [`oh-clock-card`](./oh-clock-card.html) | [Digital Clock Card](./oh-clock-card.html) | Display a digital clock in a card |
| [`oh-colorpicker-card`](./oh-colorpicker-card.html) | [Color Picker Card](./oh-colorpicker-card.html) | Display a color picker in a card |
| [`oh-gauge-card`](./oh-gauge-card.html) | [Gauge Card](./oh-gauge-card.html) | Display a read-only gauge in a card to visualize a quantifiable item |
Expand Down
2 changes: 1 addition & 1 deletion bundles/org.openhab.ui/doc/components/oh-canvas-layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Position widgets on a canvas layout with arbitrary position and size down to pix
</PropBlock>
<PropBlock type="INTEGER" name="screenHeight" label="Screen Height">
<PropDescription>
Screen width in pixels (default 720)
Screen height in pixels (default 720)
</PropDescription>
</PropBlock>
<PropBlock type="BOOLEAN" name="scale" label="Scaling">
Expand Down
505 changes: 505 additions & 0 deletions bundles/org.openhab.ui/doc/components/oh-card.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundles/org.openhab.ui/doc/components/oh-slider-card.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Display a slider in a card to control an item
Minimum interval between values
</PropDescription>
</PropBlock>
<PropBlock type="DECIMAL" name="vertical" label="Vertical">
<PropBlock type="BOOLEAN" name="vertical" label="Vertical">
<PropDescription>
Display the slider vertically
</PropDescription>
Expand Down
2 changes: 1 addition & 1 deletion bundles/org.openhab.ui/doc/components/oh-slider-cell.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ A cell expanding to a big vertical slider
Minimum interval between values
</PropDescription>
</PropBlock>
<PropBlock type="DECIMAL" name="vertical" label="Vertical">
<PropBlock type="BOOLEAN" name="vertical" label="Vertical">
<PropDescription>
Display the slider vertically
</PropDescription>
Expand Down
2 changes: 1 addition & 1 deletion bundles/org.openhab.ui/doc/components/oh-slider-item.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Display a slider control in a list
Minimum interval between values
</PropDescription>
</PropBlock>
<PropBlock type="DECIMAL" name="vertical" label="Vertical">
<PropBlock type="BOOLEAN" name="vertical" label="Vertical">
<PropDescription>
Display the slider vertically
</PropDescription>
Expand Down
2 changes: 1 addition & 1 deletion bundles/org.openhab.ui/doc/components/oh-slider.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Slider control, allows to pick a number value on a scale
Minimum interval between values
</PropDescription>
</PropBlock>
<PropBlock type="DECIMAL" name="vertical" label="Vertical">
<PropBlock type="BOOLEAN" name="vertical" label="Vertical">
<PropDescription>
Display the slider vertically
</PropDescription>
Expand Down

0 comments on commit 437540a

Please sign in to comment.