npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

xverse-components-message-board-input-type

v1.0.4

Published

xverse components message-board-input-type

Downloads

18

Readme

API

| 参数名 | 类型 | 说明 | 默认值 | 是否必填 | 备注 | | ---------------------------- | ---------------------- | ---------------------------------------------------- | ------ | -------- | ------------------------------------------------ | | breathPointProps | IBreathPoint | 呼吸点配置 | - | true | 呼吸点配置 | | inputShow | boolean | 控制留言输入框显隐 | - | false | - | | bomId | string | 留言板模型的 bomId | - | true | 留言板 glb 的 bomid | | maxCommentAmount | number | 留言板最大显示条数 | 5 | true | 留言板显示多少条后开始替换条目更新 | | maxCommentInputLen | number | 留言输入的最大字数限制 | 18 | false | 默认 18(9 个中文字符) | | backgroundImageUrl | string | 留言墙的背景图片 | - | false | 背景颜色和背景图片只能二选一,颜色会优先覆盖图片 | | backgroundColor | string | 留言墙的背景颜色 | - | false | 背景颜色和背景图片只能二选一,颜色会优先覆盖图片 | | msgBackgroundImageUrl | string | 留言条目背景图片 | - | false | 留言墙的留言背景图片 | | likeIconUrl | string | 点赞图标 | - | false | - | | likeIconSize | number | 点赞图标大小 | - | false | 一定是正方形导出图片,大小设置宽高 | | nicknameSize | number | 用户名字体大小 | - | false | - | | nicknameColor | string | 用户名字体颜色 | - | false | - | | commentSize | number | 评论字体大小 | - | false | - | | commentColor | string | 评论字体颜色 | - | false | - | | prefixComment | ICommentWallData[] | 预置固定留言 | - | false | - | | commentsConfig | ICommentConfig | 评论配置项 | - | false | - | | avatarImgUrl | string | 默认的 avatar 头像 | - | false | - | | canvasMaxHeight | number | canvas 画布最大高度设置 | - | false | 不设置时默认是 1000, 设置时按照宽为 750 等比设置 | | showPrefixComment | boolean | 是否展示预置固定留言 | true | false | - | | sendBtnClsName | string | 输入框的 class name | - | false | - | | disposeWhenComponentsDispose | boolean | 卸载组件时是否 Dispose | - | false | - | | onClose | () => void | 关闭输入框触发的事件(修改控制留言输入框显隐的变量) | - | false | - | | onSendSuccess | () => void | 发送留言成功时的回调 | - | false | - | | onSendBoardMsg | () => void | 发送留言时的回调 | - | false | - | | onCSACheckError | (val?: string) => void | 发送敏感词的回调 | - | false | - | | onGetBoardMsgFailed | () => void | 获取留言失败的回调 | - | false | - | | onSendBoardMsgFailed | () => void | 发送留言失败的回调 | - | false | - |