Home Reference Source
import Bookmarks from './ui/components/bookmarks.js'
public class | source

Bookmarks

Managing bookmarks of a patch. bookmarks will be displayed in the param panel when no op is selected

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

needRefreshSubs: boolean

Private Members
private

_bookmarks: *[]

private

_dynCmds: *[]

private

_subs: *

Method Summary

Public Methods
public

add(id: *)

public
public
public

getHtml(): *

public

goto(id: *)

public

hasBookmarkWithId(id: *): boolean

public

remove(id: *)

public

set(arr: *)

public

setBoookmarkUiAttr(id: *, bookmarked: *)

public

Public Constructors

public constructor() source

Public Members

public needRefreshSubs: boolean source

Private Members

private _bookmarks: *[] source

private _dynCmds: *[] source

private _subs: * source

Public Methods

public add(id: *) source

Params:

NameTypeAttributeDescription
id *

public cleanUp() source

public getBookmarks(): * source

Return:

*

public getHtml(): * source

Return:

*

public goto(id: *) source

Params:

NameTypeAttributeDescription
id *

public hasBookmarkWithId(id: *): boolean source

Params:

NameTypeAttributeDescription
id *

Return:

boolean

public remove(id: *) source

Params:

NameTypeAttributeDescription
id *

public set(arr: *) source

Params:

NameTypeAttributeDescription
arr *

public setBoookmarkUiAttr(id: *, bookmarked: *) source

Params:

NameTypeAttributeDescription
id *
bookmarked *

public updateDynamicCommands() source