Click or drag to resize

CSSClientSetStyleTextsAsync Method

Version 130.1.90
Applies specified style edits one after another in the given order.

Namespace: CefSharp.DevTools.CSS
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax
public Task<SetStyleTextsResponse> SetStyleTextsAsync(
	IList<StyleDeclarationEdit> edits,
	int? nodeForPropertySyntaxValidation = null
)

Parameters

edits  IListStyleDeclarationEdit
edits
nodeForPropertySyntaxValidation  NullableInt32  (Optional)
NodeId for the DOM node in whose context custom property declarations for registered properties should bevalidated. If omitted, declarations in the new rule text can only be validated statically, which may produceincorrect results if the declaration contains a var() for example.

Return Value

TaskSetStyleTextsResponse
returns System.Threading.Tasks.Task<SetStyleTextsResponse>
See Also