DevJoy.Scene.Note (DevJoy v2.0.0)
View SourceThe note is visually represented as a titled text that can be used as a notice, chapter information, or any other type of information which appears before or after content, or even between dialogs to explain words used in dialog content.
Usage
The note always requires its content and title.
You can also optionally specify additional data.
defmodule MyApp.SceneName do
use DevJoy.Scene
part :note do
note "Note title", "Note content"
note "Note title", [some: :data], "Note content"
note "Note title", [some: :data] do
"Note content"
end
end
endSummary
Field types
The type representing the content of the note.
The type representing the additional data of the note.
The type representing the title of the note.