Skip to content

package table_of_contents_overlay

import "kaiju/editor/editor_overlay/table_of_contents_overlay"

Types

Config

struct

type Config struct {
    TOC       table_of_contents.TableOfContents
    OnChanged func(toc table_of_contents.TableOfContents)
    OnClose   func()
}

TableOfContentsOverlay

struct

type TableOfContentsOverlay struct {
    // Has unexported fields.
}

Show

func Show(host *engine.Host, config Config) (*TableOfContentsOverlay, error)

TableOfContentsOverlay.Close

func (o *TableOfContentsOverlay) Close()