|
||
---|---|---|
.. | ||
src | ||
test | ||
.gitignore | ||
README.md | ||
demo.html | ||
index.html | ||
package.json | ||
tsconfig.json | ||
vite.config.ts |
README.md
Badge
Mark in the upper right corner of the icon
Import
import '@omiu/badge'
Or use script tag to ref it.
<script src="https://unpkg.com/@omiu/badge"></script>
Usage
<o-badge></o-badge>
API
Props
{
dot?: boolean,
content?: string,
x?: number,
y?: number
}
默认属性
{
x: 0,
y: 0
)