From 75d42ff271fc2b219fda3b06fcfb318d256149de Mon Sep 17 00:00:00 2001 From: Haoyu Xu Date: Thu, 19 Jan 2023 22:01:24 -0500 Subject: [PATCH] docs: updated README.md --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 218b18e..92ab880 100644 --- a/README.md +++ b/README.md @@ -44,15 +44,19 @@ Add query string `settings` to bring up the settings panel to adjust your settin ``` javascript settings.setFPS(integer) // set FPS -settings.displayLogo(boolean) // display logo or not -settings.resizeLogo(float) // the ratio of the logo -settings.opacityLogo(float) // the opacity of the logo +settings.setLogoDisplay(boolean) // display logo or not +settings.setLogoRatio(float) // the ratio of the logo +settings.setLogoOpacity(float) // the opacity of the logo settings.setLogo(url) // change the logo, url: image url, removeInvert: boolean -settings.setBackground(url) // change the background, url: image url +settings.resetLogoImage() // reset to the default logo +settings.setDefaultBackground(url) // change the default background, url: image filename from `background` folder +settings.setBackgoundImage(url) // change the background, url: image url +settings.resetBackground() // reset to the default background settings.positionPadding("left", integer) // left padding settings.positionPadding("right", integer) // right padding settings.positionPadding("top", integer) // top padding settings.positionPadding("bottom", integer) // bottom padding +settings.positionReset() // reset the position settings.open() // open settings panel settings.close() // close settings panel