@@ -23,6 +23,7 @@ export class LayoutStore {
2323 isSidebarRightOverContent : true ,
2424 layout : 'normal' ,
2525 sidebarLeftMenu : [ ] ,
26+ sidebarLeftMenuActiveUrl : '' ,
2627 skin : 'blue' ,
2728 } ;
2829
@@ -126,6 +127,15 @@ export class LayoutStore {
126127 return < Observable < Array < any > > > this . layoutState . pluck ( 'sidebarLeftMenu' ) . distinctUntilChanged ( ) ;
127128 }
128129
130+ /**
131+ * [sidebarLeftMenuActiveUrl description]
132+ * @method sidebarLeftMenuActiveUrl
133+ * @return {Observable } [description]
134+ */
135+ get sidebarLeftMenuActiveUrl ( ) : Observable < string > {
136+ return < Observable < string > > this . layoutState . pluck ( 'sidebarLeftMenuActiveUrl' ) . distinctUntilChanged ( ) ;
137+ }
138+
129139 /**
130140 * [sidebarLeftElementHeight description]
131141 * @method sidebarLeftElementHeight
@@ -253,14 +263,25 @@ export class LayoutStore {
253263 /**
254264 * [setSidebarLeftMenu description]
255265 * @method setSidebarLeftMenu
256- * @param {string } value [description]
266+ * @param {Array<any> } value [description]
257267 */
258268 public setSidebarLeftMenu ( value : Array < any > ) : void {
259269 this . _layoutState . next (
260270 Object . assign ( this . _layoutState . value , { sidebarLeftMenu : value } )
261271 ) ;
262272 }
263273
274+ /**
275+ * [setSidebarLeftMenuActiveUrl description]
276+ * @method setSidebarLeftMenuActiveUrl
277+ * @param {string } value [description]
278+ */
279+ public setSidebarLeftMenuActiveUrl ( value : string ) : void {
280+ this . _layoutState . next (
281+ Object . assign ( this . _layoutState . value , { sidebarLeftMenuActiveUrl : value } )
282+ ) ;
283+ }
284+
264285 /**
265286 * [setLayout description]
266287 * @method setLayout
0 commit comments