Browse Source

update readme

Caner 2 years ago
parent
commit
1d5e194be1
1 changed files with 21 additions and 2 deletions
  1. 21 2
      README.md

+ 21 - 2
README.md

@@ -1,3 +1,22 @@
 # custom-favicon
-
-自定义浏览器标题样式
+Add counting corners and animations to browser titles
+# use
+```
+const a = new WebTileService(option)
+    ```
+        option:{
+            Background: string,
+            Color: string,
+            Type: 'scroll' | 'flicker',
+            Time: number
+        }
+    ```
+1. set title
+    a.setTitle('test')
+2. set number
+    a.setNumber(1)
+3. clear title
+    a.clearTitle()
+4. clear number
+    a.clearNum()
+```