Interface IContentAreaItemAttributeAssembler
Constructs client side edit activation attributes for Content
Namespace: EPiServer.Web
Assembly: EPiServer.Cms.AspNetCore.Templating.dll
Version: 12.0.3Syntax
public interface IContentAreaItemAttributeAssembler
Methods
GetAttributes(ContentAreaItem, Boolean, Boolean)
Gets a dictionary containing markup attributes necessary for supporting editable Content
Declaration
IDictionary<string, string> GetAttributes(ContentAreaItem contentAreaItem, bool isRenderedInEditMode, bool hasRenderer)
Parameters
Type | Name | Description |
---|---|---|
Content |
contentAreaItem | The content area item to assemble attributes for. |
System. |
isRenderedInEditMode | set to |
System. |
hasRenderer | A value stating whether a renderer exists for the fragment. |
Returns
Type | Description |
---|---|
System. |
A dictionary with attribute names and values for a content fragment |