https://github.com/genieframework/stippletabs.jl
https://github.com/genieframework/stippletabs.jl
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/genieframework/stippletabs.jl
- Owner: GenieFramework
- License: mit
- Created: 2024-09-02T10:52:49.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-01T15:52:43.000Z (about 1 year ago)
- Last Synced: 2025-11-10T03:22:04.737Z (8 months ago)
- Language: Julia
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# StippleTabs.jl
Alternative UI tabs component for Stipple/StippleUI.
This component wraps Quasar's Q-Tabs component for Genie Builder compatibility.
Use it in combination with q-tab-panels and q-tab-panel to switch displayed content.
## Installation
To install the most recent released version of package:
```
pkg> add StippleTabs
```
## Usage
Create a simple `app.jl` script
```julia
module App
using GenieFramework
@genietools
using StippleTabs
@app begin
@out tab_ids = ["tab_1", "tab_2", "tab_3"]
@out tab_labels = ["Tab 1", "Tab 2", "Tab 3"]
@in selected_tab = "tab_1"
end
ui() = """
Tab 1 Contents
Tab 2 Contents
Tab 3 Contents
"""
@page("/", ui)
end
```