【文件属性】:
文件名称:svelte-rate-it:Card.svelte的费率成分
文件大小:67KB
文件格式:ZIP
更新时间:2021-05-15 05:42:10
JavaScript
苗条的评价它
Card.svelte的评分成分。 基于 。 谢谢
安装及使用
项目的安装费率组件
npm install svelte-rate-it --save
或与纱线
yarn add svelte-rate-it
将Svelte Rate导入您的应用程序
import Rate from "svelte-rate-it/Rate.svelte" ;
使用HTML模板
< Rate xss=removed>
道具的选择
length {number} :星号
< Rate xss=removed>
value {number} :默认值
< Rate xss=removed xss=removed>
showCount {boolean} :将鼠标悬停在星号上时显示费率编号。
< Rate length = {5} showCount = {
【文件预览】:
svelte-rate-it-master
----_config.yml(26B)
----.gitignore(914B)
----README.md(1KB)
----.prettierrc(146B)
----LICENSE(1KB)
----Rate.svelte(4KB)
----.eslintrc(406B)
----.gitattributes(34B)
----package.json(1KB)
----example()
--------.gitignore(39B)
--------rollup.config.js(1KB)
--------public()
--------package.json(609B)
--------src()
--------yarn.lock(75KB)
----.eslintignore(0B)
----.editorconfig(147B)
----yarn.lock(58KB)