From 253174d4b38d0bcc39d2b9dd255d2137a37ac3da Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Tue, 16 Feb 2016 13:13:49 +0100 Subject: [PATCH] umbEditorSubHeader: move some example pieces to other directive examples to make it less overwhelming --- .../subheader/umbeditorsubheader.directive.js | 40 +++++-------------- ...umbeditorsubheadercontentleft.directive.js | 30 +++++++++++++- ...mbeditorsubheadercontentright.directive.js | 30 +++++++++++++- .../umbeditorsubheadersection.directive.js | 38 +++++++++++++++++- 4 files changed, 105 insertions(+), 33 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/subheader/umbeditorsubheader.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/subheader/umbeditorsubheader.directive.js index 07812007a3..241bcc26ea 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/subheader/umbeditorsubheader.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/subheader/umbeditorsubheader.directive.js @@ -9,43 +9,23 @@ The sub header is sticky and will follow along down the page when scrolling.

Markup example

-    
+
- +
- + - + - + + // sub header content here + - - // content goes here - + - - // content goes here - + - - - - - - // content goes here - - - - // content goes here - - - - - - - - - +
diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/subheader/umbeditorsubheadercontentleft.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/subheader/umbeditorsubheadercontentleft.directive.js index 10a8d65e5c..97d2605d6a 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/subheader/umbeditorsubheadercontentleft.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/subheader/umbeditorsubheadercontentleft.directive.js @@ -7,7 +7,35 @@ Use this directive to left align content in a sub header in the main editor window.

Markup example

-For examples see: {@link umbraco.directives.directive:umbEditorSubHeader umbEditorSubHeader} +
+    
+ +
+ + + + + + + + + // left content here + + + + // right content here + + + + + + + + +
+ +
+

Use in combination with