This documentation refers to the latest trunk version of the Inline Edit code.
Inline Edit Overview
Allow users to edit content within the context of their work rather than going to an "edit mode".
Creating an Inline Editor
Note: this convenience method is not yet implemented.
fluid.createInlineEdit(componentContainerId);
Join the fluid-talk mailing list and ask your questions there.
Constructor
fluid.InlineEdit(componentContainerId, options);
Parameters
componentContainerId
The componentContainerId
parameter is the ID of the root DOM node of the Inline Edit markup.
options
The options
parameter is an optional collection of name-value pairs that configure the Inline Edit component:
Name |
Description |
Values |
Default |
---|---|---|---|
|
Javascript object containing selectors for various fragments of the Inline Edit markup |
|
selectors: { text: ".text", editContainer: ".editContainer", edit: ".edit" } |
|
|
|
styles: { invitation: "invitation", focus: "focus" } |
|
|
|
paddings: { add: 10, minimum: 80 } |
|
|
|
function () {} |