From a78e97f89fc2a4faebf8328735a8cf9883bb26d3 Mon Sep 17 00:00:00 2001 From: josias-r Date: Wed, 2 Nov 2022 15:59:40 +0100 Subject: [PATCH] update demo page --- index.html | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/index.html b/index.html index 561e342..7823d58 100644 --- a/index.html +++ b/index.html @@ -270,13 +270,15 @@

Highlighting a Single Element – With Popover

Popover Positioning

- You can also, change the position of the popover to be either - left, left-center, - left-bottom, top, top-center, - top-right, right, - right-center, right-bottom or - bottom, bottom-center, - bottom-right, mid-center. + You can also, change the preffered position of the popover to be + either + top, bottom, left, + right. +

+

+ And for even more fine-grain control define the alignment of the + popover to be either + start, center, end

Popover Positioning popover: { title: 'Title for the Popover', description: 'Description for it', - // position can be left, left-center, left-bottom, top, - // top-center, top-right, right, right-center, right-bottom, - // bottom, bottom-center, bottom-right, mid-center - position: 'left', + // prefferedPosition can be top, bottom, left, right + prefferedPosition: 'left', + // alignment can be start, center, end + alignment: "start" } }); @@ -428,7 +430,7 @@

className: 'first-step-popover-class', title: 'Title on Popover', description: 'Body of the popover', - position: 'left' + prefferedPosition: 'left' } }, { @@ -436,7 +438,7 @@

popover: { title: 'Title on Popover', description: 'Body of the popover', - position: 'top' + prefferedPosition: 'top' } }, { @@ -444,7 +446,7 @@

popover: { title: 'Title on Popover', description: 'Body of the popover', - position: 'right' + prefferedPosition: 'right' } }, ]); @@ -484,7 +486,7 @@

Without Overlay

popover: { title: 'Title for the Popover', description: 'Description for it', - position: 'top', // can be `top`, `left`, `right`, `bottom` + prefferedPosition: 'top', // can be `top`, `left`, `right`, `bottom` } });