From 78cc72febe7b41c1279e11890101a3530524b1c0 Mon Sep 17 00:00:00 2001 From: David Reese Date: Sun, 22 May 2016 12:10:57 -0400 Subject: [PATCH] Docs: Document positioning data attribute for off-canvas menu This data attribute is included in examples but never explained. --- docs/pages/off-canvas.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pages/off-canvas.md b/docs/pages/off-canvas.md index f15dab35f..51f29a65c 100644 --- a/docs/pages/off-canvas.md +++ b/docs/pages/off-canvas.md @@ -26,7 +26,7 @@ To start, create two wrappers to house the page. These are necessary to prevent ``` -Inside these wrapper, create an off-canvas menu with the class `.off-canvas` and the attribute `data-off-canvas`. The menu also needs a positioning class, which can be `.position-left` or `.position-right`. Lastly, make sure the off-canvas has a unique ID so it can be targeted. +Inside these wrappers, create an off-canvas menu with the class `.off-canvas` and the attribute `data-off-canvas`. The menu also needs a positioning class, which can be `.position-left` or `.position-right`, and an attribute set for the position, `data-position="left"` or `data-position="right"`. Last, make sure the off-canvas has a unique ID so it can be targeted. Along with the menu, the main content of your page will be housed in its own container with the class `.off-canvas-content` and attribute `data-off-canvas-content`. -- 2.47.2