Storytale Runtime API
Toggle table of contents
0.0.7
common
Target filter
common
Switch theme
Search in API
Skip to content
Storytale Runtime API
Storytale Runtime API
/
org.jetbrains.compose.storytale
/
Story
Story
data
class
Story
(
val
id
:
Int
,
val
name
:
String
,
val
group
:
String
,
val
code
:
String
,
val
content
:
@
Composable
Story
.
(
)
->
Unit
)
Members
Constructors
Story
Link copied to clipboard
constructor
(
id
:
Int
,
name
:
String
,
group
:
String
,
code
:
String
,
content
:
@
Composable
Story
.
(
)
->
Unit
)
Properties
code
Link copied to clipboard
val
code
:
String
content
Link copied to clipboard
val
content
:
@
Composable
Story
.
(
)
->
Unit
group
Link copied to clipboard
val
group
:
String
id
Link copied to clipboard
val
id
:
Int
name
Link copied to clipboard
val
name
:
String
parameters
Link copied to clipboard
val
parameters
:
List
<
StoryParameter
<
*
>
>
Functions
parameter
Link copied to clipboard
inline
fun
<
T
>
parameter
(
defaultValue
:
T
)
:
StoryParameterDelegate
<
T
>
inline
fun
<
T
:
Enum
<
T
>
>
parameter
(
defaultValue
:
T
,
label
:
String
?
=
null
)
:
StoryListParameterDelegate
<
T
>
inline
fun
<
T
>
parameter
(
values
:
List
<
T
>
,
defaultValueIndex
:
Int
=
0
,
label
:
String
?
=
null
)
:
StoryListParameterDelegate
<
T
>