public interface BindingsProvider
ServiceProvider
annotation so
they can be found for a particular HTML file. Their
findBindings
method is called when a knockout code completion is about to be shown in the
HTML editor and then can generate a JSON like description of the structure of
knockout context via Bindings
methods.Modifier and Type | Interface and Description |
---|---|
static class |
BindingsProvider.Response
Methods for
BindingsProvider s to provide a response when
queries
about a particular HTML file. |
Modifier and Type | Method and Description |
---|---|
BindingsProvider.Response |
findBindings(FileObject htmlFile)
Called when additional completion is requested for a particular file.
|
BindingsProvider.Response findBindings(FileObject htmlFile)
htmlFile
- the HTML file opened in editorResponse
instance with bindings