1.hold the current frament in a variable
while new a note , when "cancel" clicked,replace it back.
2.load
the new note form when load the page , place it in a hidden div .when
new a note ,straightforward get the form from the hidden div ,not fetch
from the server.
3.when new or edit a note ,hide the left two columns ,show them after save.
本文介绍了一种优化笔记应用用户体验的方法,包括保持当前片段以便在取消新建笔记时恢复、加载页面时预加载表单并将其存放在隐藏的div中以便快速调用、编辑或新建笔记时隐藏左侧两栏并在保存后重新显示。
159

被折叠的 条评论
为什么被折叠?



