Here are some recipes that will help you provide a better user experience.

    下面是一些可以帮助提供更好用户体验的技巧:

    1. Adding CSS Classes to Your Components
    2. Adding CSS Classes to Your Components Based on Properties
    3. Focusing a Textfield after It’s Been Inserted
    4. Displaying Formatted Dates With Moment.js
    5. Specifying Data-Driven Areas of Templates That Do Not Need To Update
    6. Using Modal Dialogs
    7. Resetting scroll on route changes

    8. 为组件添加CSS类

    9. 通过属性为组件添加CSS类
    10. 实现将焦点放置在添加的文本框
    11. 使用Moment.js显示格式化日期
    12. 指定模板中无需更新的数据驱动区域
    13. 使用模态对话框
    14. 路由改变时重置滚动条