diff --git a/components/lib/splitter/Splitter.d.ts b/components/lib/splitter/Splitter.d.ts index 6d93aa28e..29ae12d6b 100644 --- a/components/lib/splitter/Splitter.d.ts +++ b/components/lib/splitter/Splitter.d.ts @@ -20,6 +20,7 @@ export interface SplitterPassThroughMethodOptions { instance: any; props: SplitterProps; state: SplitterState; + context: SplitterContext; } /** @@ -93,6 +94,16 @@ export interface SplitterState { prevSize: number; } +/** + * Defines options in Splitter component. + */ +export interface SplitterContext { + /** + * Current nested state of the component. + */ + nested?: boolean; +} + /** * Defines valid properties in Splitter component. */ diff --git a/components/lib/splitter/Splitter.vue b/components/lib/splitter/Splitter.vue index 2d63da881..4d3a5a9ea 100644 --- a/components/lib/splitter/Splitter.vue +++ b/components/lib/splitter/Splitter.vue @@ -1,5 +1,5 @@