[]
        
(Showing Draft Content)

C1.Win.Editor.C1Editor.InsertAfterElementAsync

InsertAfterElementAsync Method

InsertAfterElementAsync(string, string, string, string)

Inserts the specified HTML fragment after the found elements asynchronously.

Declaration
public Task InsertAfterElementAsync(string htmlFragment, string elementId = null, string elementTag = null, string elementClass = null)
Public Function InsertAfterElementAsync(htmlFragment As String, Optional elementId As String = Nothing, Optional elementTag As String = Nothing, Optional elementClass As String = Nothing) As Task
Parameters
Type Name Description
string htmlFragment

HTML fragment to insert after the target element.

string elementId

The ID of the element after which the content will be inserted.

string elementTag

The tag name of the elements after which the content will be inserted.

string elementClass

The class name of the elements after which the content will be inserted.

Returns
Type Description
Task