mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
17 lines
265 B
TypeScript
17 lines
265 B
TypeScript
import context = require("contextjs");
|
|
|
|
context.init();
|
|
|
|
context.settings({compress: true});
|
|
|
|
context.attach('#test', [
|
|
{header: 'header 1'},
|
|
{divider: true},
|
|
{text:'foobar', submenu: [
|
|
{text:'sub1'},
|
|
{text:'sub2'}
|
|
]}
|
|
]);
|
|
|
|
context.destroy('#test');
|