Documentation for a historical release of Infusion: 1.3
Please view the Infusion Documentation site for the latest documentation.
If you're looking for Fluid Project coordination, design, communication, etc, try the Fluid Project Wiki.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This documentation refers to the latest trunk version of the Inline Edit code.

Inline Edit Overview


Creating an Inline Editor

Note: this convenience method is not yet implemented.

fluid.createInlineEdit(componentContainerId);
On This Page
Still need help?

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

selectors

 

 

selectors: {
    text: ".text",
    editContainer: ".editContainer",
    edit: ".edit"
}

styles

 

 

styles: {
    invitation: "invitation",
    focus: "focus"
}

paddings

 

 

paddings: {
    add: 10,
    minimum: 80
}

finishedEditing

 

 

function () {}
  • No labels