Field Notes
Field Notes home
Docs
Playground
Preparing search index...
@fieldnotes/core
PaletteApi
Interface PaletteApi
interface
PaletteApi
{
close
()
:
void
;
isOpen
()
:
boolean
;
open
(
query
?:
string
)
:
void
;
}
Index
Methods
close
is
Open
open
Methods
close
close
()
:
void
Returns
void
is
Open
isOpen
()
:
boolean
Returns
boolean
open
open
(
query
?:
string
)
:
void
Opens the palette with
query
in the input (empty by default); re-opening replaces it.
Parameters
Optional
query
:
string
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
close
is
Open
open
Field Notes home
Docs
Playground
Field Notes
Loading...
Opens the palette with
queryin the input (empty by default); re-opening replaces it.