kartik\tree\TreeViewInput::renderDropdown PHP Method

renderDropdown() protected method

Generates the dropdown tree menu
protected renderDropdown ( string $content ) : string
$content string the content to be embedded in the dropdown menu
return string
    protected function renderDropdown($content)
    {
        $config = $this->dropdownConfig;
        $input = Html::tag('div', $config['caret'] . $this->_placeholder, $config['input']);
        $dropdown = Html::tag('div', $content, $config['dropdown']);
        return Html::tag('div', $input . $dropdown, $config['options']);
    }