Skip to main content

ISlide interface

📖 Description​

Describes the interface that holds a slide.

📃 Type declaration​

interface ISlide {
  index: number;Readonly
  id: string;Readonly
  section: Section | undefined;Readonly
  context: Context | undefined;Readonly
  label: string;Readonly
  name: string;Readonly
  description: string;Readonly
  bookmark: IBookmark;Readonly
  nodes: IObservableNode[];Readonly
  isFirst: boolean;Readonly
  isLast: boolean;Readonly
  isPassed: boolean;Readonly
  isFailed: boolean;Readonly
  previous: ISlide | undefined;Readonly
  next: ISlide | undefined;Readonly
}
đŸ–ąī¸ Hover with the mouse over a property name for a tooltip with the description of that property. Click it for more information.

đŸ—ƒī¸ Properties​


đŸˇī¸ bookmark​

Reference to the slide bookmark.

Type​

IBookmark


đŸˇī¸ context​

Contains the context for the bookmark.

Type​

Context | undefined


đŸˇī¸ description​

Description for the bookmark.

Type​

string


đŸˇī¸ id​

Contains the identifier of the bookmark.

Type​

string


đŸˇī¸ index​

Contains the zero-basded index number of the slide in the slides array.

Type​

number


đŸˇī¸ isFailed​

Contains if the validation of one the nodes in the slide has failed.

Type​

boolean


đŸˇī¸ isFirst​

Contains if this is the first slide in the slides array.

Type​

boolean


đŸˇī¸ isLast​

Contains if this is the last slide in the slides array.

Type​

boolean


đŸˇī¸ isPassed​

Contains if the validation of all nodes in the slide is passed.

Type​

boolean


đŸˇī¸ label​

Name for the bookmark (this is the name of the bookmark with any markdown processed).

Type​

string


đŸˇī¸ name​

Name for the bookmark.

Type​

number


đŸˇī¸ next​

Reference to the next slide in the slides array.

Type​

ISlide | undefined


đŸˇī¸ nodes​

Contains the nodes in the bookmark.

Type​

IObservableNode[]


đŸˇī¸ previous​

Reference to the previous slide in the slides array.

Type​

ISlide | undefined


đŸˇī¸ section​

Reference to the section that defined the bookmark.

Type​

Section | undefined