简体   繁体   English

如何用空格设置 dojo 内容选项卡标题?

[英]How can I set dojo content tab title with space?

I am using Dojo 1.7.1 for my web application for UI and using content tab as a primary way to display information.我将 Dojo 1.7.1 用于我的 web UI 应用程序,并使用内容选项卡作为显示信息的主要方式。 I generate these content tab dynamically as and when required using ajax calls.我根据需要使用 ajax 调用动态生成这些内容选项卡。

For content tabs, I am facing an issue to have space in content tab title.对于内容选项卡,我面临着在内容选项卡标题中留有空间的问题。 For example, I want to display tab title as "View Client Details" but it doesn't work with space or .例如,我想将选项卡标题显示为“查看客户详细信息”,但它不适用于空格或 . I'm forced to show it as "ViewClientDetails" which is certainly not good and very limiting on User Interface side.我被迫将其显示为“ViewClientDetails”,这肯定不好,并且在用户界面方面非常有限。

I have searched at dojo forums and found very little docs on this.我在 dojo 论坛上搜索过,发现这方面的文档很少。 How can I set dojo content tab title with space?如何用空格设置 dojo 内容选项卡标题?

Thanks in advance.提前致谢。

data-dojo-props="title: 'View Client Details'"

should work.应该管用。

如何绑定 html<title> vuejs 中的内容?</div></title><div id="text_translate"><p> 我正在尝试在 vuejs 上进行演示。 现在我想要 html 标题绑定一个 vm 字段。</p><p> 以下是我尝试过的:</p><p> index.html</p><pre> <.DOCTYPE html> <html id="html"> <head> <title>{{ hello }}</title> <script src="lib/requirejs/require.min.js" data-main="app"></script> </head> <body> {{ hello }} <input v-model="hello" title="hello" /> </body> </html></pre><p> app.js</p><pre> define([ 'jquery', 'vue' ], function ($, Vue) { var vm = new Vue({ el: 'html', data: { hello: 'Hello world' } }); });</pre><p> 但标题似乎没有限制,如何让它发挥作用?</p></div> - How can I bind the html <title> content in vuejs?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何以编程方式更改 dojo/dijit 选项卡标题? - How to change dojo/dijit tab title programmatically? 当新内容出现在最小化页面上时,如何更新标签标题? - How can I update a tab's title when new content appears on minimized page? 如何获取带有data-dojo-attach-point的Dojo节点集的对象描述符? - How can I get the object descriptor for a Dojo node set with data-dojo-attach-point? 如何在AccordionContainer中显示的dojo内容窗格的标题中包含复选框? - How to include checkbox in the title of dojo content pane present in AccordionContainer? 关闭选项卡以关注上一个选项卡而不是第一个选项卡时如何更改 dojo 内容选项卡焦点? - How to change dojo content tab focus when closing a tab to focus on previous tab instead of first tab? 如何设置新浏览器标签的标题? - How to set the title for the new browser tab? 如何浏览器标签标题将其设置为滚动/移动? - How to Browser tab title set it to scrolling/moving? 我们如何在dojo TreeGrid中设置子项? - How can we set children in dojo TreeGrid? 如何绑定 html<title> vuejs 中的内容?</div></title><div id="text_translate"><p> 我正在尝试在 vuejs 上进行演示。 现在我想要 html 标题绑定一个 vm 字段。</p><p> 以下是我尝试过的:</p><p> index.html</p><pre> <.DOCTYPE html> <html id="html"> <head> <title>{{ hello }}</title> <script src="lib/requirejs/require.min.js" data-main="app"></script> </head> <body> {{ hello }} <input v-model="hello" title="hello" /> </body> </html></pre><p> app.js</p><pre> define([ 'jquery', 'vue' ], function ($, Vue) { var vm = new Vue({ el: 'html', data: { hello: 'Hello world' } }); });</pre><p> 但标题似乎没有限制,如何让它发挥作用?</p></div> - How can I bind the html <title> content in vuejs? Dojo:如何更新dojo.dnd.boxConstrainedMoveable上的约束? - Dojo: How can I update the constraints on a dojo.dnd.boxConstrainedMoveable?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM