ant-design/docs/spec/direct.en-US.md
2018-01-05 12:41:24 +08:00

3.0 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.



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