ก่อนการแก้ไข
![]() |
| From Programming Hunter |
ช่วงการแก้ไข
![]() |
| From Programming Hunter |
หลังแก้เสร็จแล้ว
![]() |
| From Programming Hunter |
ซึ่งจะเห็นว่าเวลาการแก้ไขเกิดขึ้นก็ยังอยู่ในหน้า Find Example ซึ่งการใช้งาน InPlaceEditor นั้นเราจะใส่ tag <in-place-editor> ภายใต้ tag <display> ต่อไปนี้เป็น tag ต่างๆที่ใช้ใน InPlaceEditor ครับ
url (required)
cancel-control ('link' | 'button' | false)
cancel-text
click-to-edit-text
field-post-creation ('activate' | 'focus' | false)
form-class-name
form-id
highlight-color
highlight-end-color
hover-class-name
html-response ('false' | 'true')
loading-class-name
loading-text
ok-contol ('button' | 'link' | false)
ok-text
param-name
saving-class-name
saving-text
submit-on-blur ('false' | 'true')
text-after-controls
text-before-controls
text-between-controls
update-after-request-call ('true' | 'false')
มาดู โคดตัวอย่างการใช้งานกันเลยครับ



0 comments:
Post a Comment