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](https://www.oxterisk.com/wp-content/uploads/2022/06/cc-position-bottom-left-1024x590.jpeg)
bottom-center
![Window position bottom center](https://www.oxterisk.com/wp-content/uploads/2022/06/cc-position-bottom-center-1024x590.jpeg)
bottom-right
![Window position bottom right](https://www.oxterisk.com/wp-content/uploads/2022/06/cc-position-bottom-right-1024x590.jpeg)
bottom (full width)
![Window position bottom full width](https://www.oxterisk.com/wp-content/uploads/2022/06/cc-position-bottom-1024x590.jpeg)
top-left
![Window position top left](https://www.oxterisk.com/wp-content/uploads/2022/06/cc-position-top-left-1024x590.jpeg)
top-center
![Window position top center](https://www.oxterisk.com/wp-content/uploads/2022/06/cc-position-top-center-1024x590.jpeg)
top-right
![Window position bottom right](https://www.oxterisk.com/wp-content/uploads/2022/06/cc-position-top-right-1024x590.jpeg)
top (full width)
![Window position top full width](https://www.oxterisk.com/wp-content/uploads/2022/06/cc-position-top-1024x590.jpeg)