Skip to main content

NoteDocument

Function NoteDocument 

Source
pub fn NoteDocument(props: NoteDocumentProps) -> impl IntoView
Expand description

笔记正文:类型与篇序、衬线标题、时间与标签、正文,以及笔记本内的上一篇 / 下一篇。 后台编辑器的预览(preview)只显示正文部分。

组件只运行一次:同一实例内 note 不会更新,换笔记须由调用方重建。

§Required Props

§Optional Props