ant-design/docs/spec/direct.en-US.md
Leon cf8aa16761 docs: change a reference link in docs (#6307)
* 更改链接路径

原文路径不对,页面不存在,更改好可以~

* change reference link

add 'docs/' to make reference link right
2017-06-01 09:24:21 +08:00

3.1 KiB
Raw Blame History

category order title
Principles 5 Make it Direct

As Alan Cooper states『Where there is output, let there be input』. This is the principle of direct manipulation. egInstead of editing content on a separate page, do it directly in context.


In-Page Editing

Example of click to edit

Single-Field Inline Edit

If 『readability』 is more important than 『editability』, 『click to edit』 can be used.


Example of Text link/Icon Edit

If the priority is given to 『readability』 and the 『editability』 of operation lines need to be highlighted at the same time, 『text link/icon edit』can be used.


Example of Multi-Field Inline Edit

Multi-Field Inline Edit

NoteIn『Multi-Field Inline Edit』there are huge different between the content and required fieldSo it is more needed to use the 『Explain What Just Happened』 in 『Use Transition』to eliminate this visual effects.


More mode of 『In-page Edit』 please visit 『ModeTableInteraction』



Drag and Drop

Example of Drag and Drop List

Drag and Drop List

Drag and Drop can only limited in one dimensionupper/down or left/right


Example of Drag and Drop picture/file

Drag and Drop picture/file