Interface IContentAreaItemAttributeAssembler
Constructs client side edit activation attributes for ContentAreaItems.
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 ContentAreaItems in rendered markup.
Declaration
IDictionary<string, string> GetAttributes(ContentAreaItem contentAreaItem, bool isRenderedInEditMode, bool hasRenderer)
Parameters
Type | Name | Description |
---|---|---|
ContentAreaItem | contentAreaItem | The content area item to assemble attributes for. |
System.Boolean | isRenderedInEditMode | set to |
System.Boolean | hasRenderer | A value stating whether a renderer exists for the fragment. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.String> | A dictionary with attribute names and values for a content fragment |