release: WRNexusJS 0.6.0
This commit is contained in:
@@ -1,24 +1,24 @@
|
||||
component BackToTop {
|
||||
props {
|
||||
threshold = 500
|
||||
label = "Back to top"
|
||||
ariaLabel = "Scroll back to top"
|
||||
icon = "icon-[lucide--arrow-up]"
|
||||
position = "right"
|
||||
offset = "md"
|
||||
behavior = "smooth"
|
||||
showProgress = false
|
||||
showLabel = false
|
||||
alwaysVisible = false
|
||||
size = "default"
|
||||
color = "primary"
|
||||
variant = "solid"
|
||||
shape = "round"
|
||||
class = ""
|
||||
threshold: number = 500
|
||||
label: string = "Back to top"
|
||||
ariaLabel: string = "Scroll back to top"
|
||||
icon: string = "icon-[lucide--arrow-up]"
|
||||
position: string = "right"
|
||||
offset: string = "md"
|
||||
behavior: string = "smooth"
|
||||
showProgress: boolean = false
|
||||
showLabel: boolean = false
|
||||
alwaysVisible: boolean = false
|
||||
size: string = "default"
|
||||
color: string = "primary"
|
||||
variant: string = "solid"
|
||||
shape: string = "round"
|
||||
class: string = ""
|
||||
}
|
||||
|
||||
state visible = false
|
||||
state progress = 0
|
||||
state visible: boolean = false
|
||||
state progress: number = 0
|
||||
|
||||
view {
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user