Skip to content

SPARQL Studio API / SparqlUtils / YasqeFactory

Type Alias: YasqeFactory

YasqeFactory = (parent, conf) => IYasqe

Defined in: sparql-utils/src/yasqe.ts:249

Factory that builds an editor instance into parent, given the per-tab config SparqlStudio injects. SparqlStudio is editor-independent: the consumer imports an editor (e.g. @rdfjs/sparql-editor-monaco or @rdfjs/sparql-editor-codemirror) and supplies one of these as config.yasqe.

Parameters

parent

HTMLElement

conf

any

Returns

IYasqe