release: WRNexusJS 0.6.0
This commit is contained in:
@@ -1,33 +1,36 @@
|
||||
component Button {
|
||||
outputs {
|
||||
click(payload: { sourceEvent?: Event; [key: string]: string | number | boolean | null | object })
|
||||
focus(payload: { sourceEvent?: Event; [key: string]: string | number | boolean | null | object })
|
||||
blur(payload: { sourceEvent?: Event; [key: string]: string | number | boolean | null | object })
|
||||
}
|
||||
|
||||
props {
|
||||
@event click = function
|
||||
@event focus = function
|
||||
@event blur = function
|
||||
label = "Button"
|
||||
loadingLabel = "Loading…"
|
||||
description = ""
|
||||
as = ""
|
||||
href = ""
|
||||
target = ""
|
||||
rel = ""
|
||||
type = "button"
|
||||
variant = "default"
|
||||
color = "primary"
|
||||
size = "default"
|
||||
disabled = false
|
||||
loading = false
|
||||
pill = false
|
||||
fullWidth = false
|
||||
icon = ""
|
||||
iconPosition = "start"
|
||||
ariaLabel = ""
|
||||
ariaPressed = ""
|
||||
ariaExpanded = ""
|
||||
ariaControls = ""
|
||||
title = ""
|
||||
autofocus = false
|
||||
controlClass = ""
|
||||
class = ""
|
||||
label: string = "Button"
|
||||
loadingLabel: string = "Loading…"
|
||||
description: string = ""
|
||||
as: string = ""
|
||||
href: string = ""
|
||||
target: string = ""
|
||||
rel: string = ""
|
||||
type: string = "button"
|
||||
variant: string = "default"
|
||||
color: string = "primary"
|
||||
size: string = "default"
|
||||
disabled: boolean = false
|
||||
loading: boolean = false
|
||||
pill: boolean = false
|
||||
fullWidth: boolean = false
|
||||
icon: string = ""
|
||||
iconPosition: string = "start"
|
||||
ariaLabel: string = ""
|
||||
ariaPressed: string = ""
|
||||
ariaExpanded: string = ""
|
||||
ariaControls: string = ""
|
||||
title: string = ""
|
||||
autofocus: boolean = false
|
||||
controlClass: string = ""
|
||||
class: string = ""
|
||||
}
|
||||
|
||||
view {
|
||||
|
||||
Reference in New Issue
Block a user