# html-support/integrations/integrationutils

module

<a id="functions">

## Functions

<a id="function-getDescendantElement">

### `getDescendantElement( writer, containerElement, elementName ) → ViewElement | undefined` _(internal)_

Returns the first view element descendant matching the given view name. Includes view element itself.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-html-support/src/integrations/integrationutils.ts#L18)

#### Parameters

* `writer: ViewDowncastWriter`
* `containerElement: ViewElement`
* `elementName: string`

#### Returns

* `ViewElement | undefined`

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
