logofirst
logofirst

Paragraphs

Paragraphs tag shows an Paragraphs markup that can be labeled
it expects an array of objects like that [{ $nameKey: “Author name”, $textKey: “Text” }, … ]

Parameters

Param Type Default Description
name string name of the element
value string value of the element
[valueType] json | url json how to treat value — as data or as url with data to load from
audioUrl string audio to sync phrases with
showPlayer boolean show audio player above the paragraphs
[saveTextResult] no | yes yes whether to save text to value or not
[layout] none | dialogue none the styles layout to use
[nameKey] string "author" name key to use
[textKey] string "text" text key to use

Example

<View>
  <Paragraphs name="dialogue-1" value="$dialogue" layout="dialogue" />
</View>