-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
I would like to embed a browser configured with data sources from local javascript objects. Is something like this possible?
var features = [
{chr: '1', start: 123, end: 234, label: 'foo'},
{chr: '1', start: 333, end: 444, label: 'bar'},
{chr: '3', start: 111, end: 222, label: 'baz'}
];
var styles = [
{
type: 'default',
style: {
glyph: 'PLIMSOLL',
HEIGHT: '12',
STROKECOLOR: 'black',
FGCOLOR: 'red'
}
},
{
type: 'nasty',
style: {
glyph: 'CROSS',
FGCOLOR: 'green'
}
}
];
browser.addTier({
name: 'MyData',
desc: 'I have these features in memory',
localData: features,
localStyleSheet: styles
});
Metadata
Metadata
Assignees
Labels
No labels