We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
职位
商务模式
技术名词
提示 hints、tips、prompt 以及 message 的区别
在程序开发中,关于提示组件的命名,有 tips、hints、prompt、message 等,一般怎么使用呢?下面来看看
tips,n. 小贴士、温馨提示、小窍门。主要用于文字提示,比如 tooltip 组件。
hints,n. 暗示、提示,v. 暗示、示意。开发中用的较少,相比于 tips,它有间接含蓄, 暗示,不直接提示的意思。
prompt,n. 提示、提词,v. 提示、鼓励、促进。在开发中用的较少,BOM API 中带输入框的提示,使用的就是 prompt window.prompt('最近还好吗?')
window.prompt('最近还好吗?')
message n. 消息、信息,v. 通知。主要是全局提示,强调信息、消息。收到一条通知、消息。常用于 message 消息/信息提示/显示。
另外还有一个 alert,属于 警告提示。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
目录
职位
商务模式
技术名词
提示 hints、tips、prompt 以及 message 的区别
在程序开发中,关于提示组件的命名,有 tips、hints、prompt、message 等,一般怎么使用呢?下面来看看
tips,n. 小贴士、温馨提示、小窍门。主要用于文字提示,比如 tooltip 组件。
hints,n. 暗示、提示,v. 暗示、示意。开发中用的较少,相比于 tips,它有间接含蓄, 暗示,不直接提示的意思。
prompt,n. 提示、提词,v. 提示、鼓励、促进。在开发中用的较少,BOM API 中带输入框的提示,使用的就是 prompt
window.prompt('最近还好吗?')
message n. 消息、信息,v. 通知。主要是全局提示,强调信息、消息。收到一条通知、消息。常用于 message 消息/信息提示/显示。
另外还有一个 alert,属于 警告提示。
参考链接
The text was updated successfully, but these errors were encountered: