diff --git a/docs/api.js b/docs/api.js index 127acdc5..82283587 100644 --- a/docs/api.js +++ b/docs/api.js @@ -33,10 +33,28 @@ $(function() { app.$ui.actionList = constructList(); app.$ui.actionInfo = Ox.Container().css({padding: '8px'}).html('select action on the left.'); + var $left = new Ox.SplitPanel({ + elements: [ + { + element: new Ox.Element().append(new Ox.Element().html('oxjs API').css({ + 'padding': '4px', + })).css({ + 'background-color': '#ddd', + 'font-weight': 'bold', + }), + size: 24 + }, + { + element: app.$ui.actionList + } + ], + orientation: 'vertical' + }); + var $main = new Ox.SplitPanel({ elements: [ { - element: app.$ui.actionList, + element: $left, size: 160 }, { @@ -80,6 +98,7 @@ function constructList() { Ox.print("items", items); callback(result); }, + scrollbarVisible: true, sort: [ { key: "name",