Skip to content

Commit

Permalink
Splitter: add live demo to API (#6740)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladaskorohodova authored Oct 23, 2024
1 parent 3d04709 commit 181697d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions api-reference/10 UI Components/dxSplitter/dxSplitter.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,24 @@ inherits: CollectionWidget
##### shortDescription
Splitter is a UI component that allows you to divide a page or section into multiple adjustable [panes](/api-reference/10%20UI%20Components/dxSplitter/1%20Configuration/items '/Documentation/ApiReference/UI_Components/dxSplitter/Configuration/items/').

##### widgettree
height: 300,
items: [ {resizable: true,
collapsible: true,
template: function (data, index, element) {
$(element).css('background-color', "#FFE3E3");
return 'Pane 1';
}
}, {resizable: true,
template: function (data, index, element) {
$(element).css('background-color', "#FEF9F2");
return 'Pane 2';
}
} ]

##### lib
dx.web.js, dx.all.js

---
#include btn-open-demo with {
href: "https://js.devexpress.com/Demos/WidgetsGallery/Demo/Splitter/Overview/"
Expand Down

0 comments on commit 181697d

Please sign in to comment.