Positioning the window

To specify the position of the window we must set the parameter position with the corresponding location.

On small devices the width will be always 100%.

const cc = CookiesConsentJS({
    position: "top-right"
    ...
});

Available positions

bottom-left (default)

Window position bottom left

bottom-center

Window position bottom center

bottom-right

Window position bottom right

bottom (full width)

Window position bottom full width

top-left

Window position top left

top-center

Window position top center

top-right

Window position bottom right

top (full width)

Window position top full width