s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Projects · Components

ProjectQuestionsAndDecisions

No summary has been written for ProjectQuestionsAndDecisions. Everything below is generated from the declaration shipped in 0.57.40 and describes the real contract.

Public export

typescript
import { ProjectQuestionsAndDecisions } from '@happyvertical/smrt-projects/svelte';
Import path
@happyvertical/smrt-projects/svelte
Props
5
Props described
5 of 5
Bindable state
0
Callback events
2
Verified release
0.57.40

Props

NameTypeRequiredDescription
questionsProjectQuestionView[]NoAuthorized question projections to display and resolve.
decisionsProjectDecisionView[]NoAuthorized decision projections with their available choices.
busybooleanNoDisable resolution submissions while the host saves a change.
onanswer(input: ProjectQuestionAnswerInput) => void | Promise<void>NoSave an explicit owner answer with the observed revision.
ondecide(input: ProjectDecisionResolveInput) => void | Promise<void>NoSave a selected outcome and rationale with the observed revision.

Bindable state

This component has no bindable public state.

Callback events

  • onanswer(input: ProjectQuestionAnswerInput) => void | Promise<void>
  • ondecide(input: ProjectDecisionResolveInput) => void | Promise<void>

Examples and explanation