Scoop API

scoop:scoop.ui.component:0.1.0

QuestionnaireStrings

class QuestionnaireStrings

source · line 11
public
public class QuestionnaireStrings public constructor(
    public val previous: String = "Previous",
    public val next: String = "Next",
    public val skip: String = "Skip",
    public val submit: String = "Submit",
    public val busy: String = "Submitting…",
    public val optional: String = "Optional",
    public val skipped: String = "Skipped",
    public val answerRequired: String = "Answer this question to continue.",
    public val textRequired: String = "Enter an answer to continue.",
    public val progress: (Long, Long) -> String =
        { position, total -> f"Question ${position} of ${total}" }
)

property textRequired

source · line 20
public
public val textRequired: String = "Enter an answer to continue."

get: public read-only

constructor constructor

source · line 11
public
constructor(public val previous: String = "Previous", public val next: String = "Next", public val skip: String = "Skip", public val submit: String = "Submit", public val busy: String = "Submitting…", public val optional: String = "Optional", public val skipped: String = "Skipped", public val answerRequired: String = "Answer this question to continue.", public val textRequired: String = "Enter an answer to continue.", public val progress: (Long, Long) -> String =
        { position, total -> f"Question ${position} of ${total}" })

parameter answerRequired

source · line 19
public
public val answerRequired: String = "Answer this question to continue."

property progress

source · line 21
public
public val progress: (Long, Long) -> String =
        { position, total -> f"Question ${position} of ${total}" }

get: public read-only

property answerRequired

source · line 19
public
public val answerRequired: String = "Answer this question to continue."

get: public read-only