# cp.ui.ScrollArea.Builder

Builder class for ScrollArea.


# API Overview

Methods - API calls which can only be made on an object returned by a constructor

  • containing

# API Documentation

# Methods

# containing

Signature cp.ui.ScrollArea.Builder:containing(contentBuilder) -> cp.ui.ScrollArea.Builder
Type Method
Description Sets the content Element type/builder to the specified value.
Parameters
  • contentBuilder - A callable that accepts a parent and uiFinder parameter, and returns an Element instance.
Returns
  • The Builder instance.
Notes None
Examples None
Source src/extensions/cp/ui/ScrollArea.lua line 61