ant-design/docs/spec/direct.en-US.md
二货机器人 abf215a982
docs: Update 4.0 site (#20290)
* init recommend block

* init design pages

* home frames

* add background banner

* hello, Hitu makes the animation

* add media query

* add images

* update types

* add declare

* preload support

* update ignore

* additional ignore site Home lint

* update ignore

* add hover effect

* adjust alt of bannber

* adjust lang & card shadow

* fix typo

* adjust desc

* hitu in english

* article add link

* Certainty is hitu

* Meaning Hitu

* Growth with Hitu

* Natural Hitu

* slow down of Natural

* adjust speed of icons

* New Meaning animation

* adjust animation duration

* update card link

* update link

* values doc

* replace images

* faster Growth

* update values

* fix lint

* all slow down

* adjust padding

* update icons

* adjust margin

* update images

* adjust montion

* adjust by designer

* update pages

* update design prod

* update articles

* update site style

* update doc

* update images

* update style

* lint fix

* adjust liner color

* github text color update

* adjust margin of title

* mobile design

* update design sub card

* update style

* less lint

* update images

* design card auto height

* update img

* update logo transition

* adjust card style

* adjust style to fix 184

* adjust nav style

* category it

* slow down of logo

* update style

* hide video link

* hitu article

* use img of hitu

* update docs

* style lint

* update Hitu layout doc

* update images

* speed up logo

* update link

* clean up

* clean up

* update doc

* adjust doc

* update images
2019-12-26 15:27:52 +08:00

3.0 KiB
Raw Blame History

category type order title
Design Patterns 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 field, So 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