Skip to main content

Slide Hierarchy Service

The Slide Hierarchy Service provides access to the slide hierarchy, Getting Chapters, Slides, Root Slides, and Complete slide hierarchy of chapters with included chapter slides.

Methods

getChapters()

Description

  • Gets the chapter hierarchy of a deck or presentation.

Return Value: Object

Code Example

    this.chapterHierarchy = digideckCore.slideHierarchyService.getChapters();

getChapterSlides(chapterPath)

Description

  • Gets the chapter slides by the chapter's path

Return Value: Array<Object>

Options:

  • chapterPath: String The hash path value for the chapter.

Code Example

    this.chapterSlides = digideckCore.slideHierarchyService.getChapterSlides(chapterPath);

getSlideHierarchy()

Description

  • Gets the chapter hierarchy with chapter slides of a deck or presentations.

Return Value: Array<Object>

Code Example

    this.slideHierarchy = digideckCore.slideHierarchyService.getSlideHierarchy();

// Slide Hierarchy data structure:

// [{
// id: String,
// path: String,
// title: String,
// order: Number,
// hideFromMenus: Boolean,
// slides: [
// {
// id: String,
// path: String,
// title: String,
// order: Number,
// hideFromMenus: Boolean
// }, ...More SLides
// ]
// }, ...More Chapters]