API Documentação da API
Inscrições abertas para nosso Webinar anual Adianti Framework 2024!
Clique aqui para saber mais
Pacote Dominando o Adianti 7
Curso + Livro + Apps exemplo
Curso completo em Video Aulas (114 aulas).
Livro completo em PDF (463 páginas).
Códigos-fontes de Apps de exemplo.
API
API do Framework
Documentation

Documentation

TDropDown extends TElement
in package

TDropDown Widget

Tags
version
7.6
subpackage

util

author

Pablo Dall'Oglio

copyright

Copyright (c) 2006 Adianti Solutions Ltd. (http://www.adianti.com.br)

license

https://adiantiframework.com.br/license

Table of Contents

Properties

$elements  : mixed
$button  : mixed

Methods

__construct()  : mixed
Class Constructor
addAction()  : mixed
Add an action
addActionGroup()  : mixed
Add an action group
addHeader()  : mixed
Add a header
addPostAction()  : mixed
Add an action
addSeparator()  : mixed
Add a separator
clearItems()  : mixed
Clear child elements
getButton()  : mixed
Returns the dropdown button
setButtonClass()  : mixed
Define the button class
setButtonSize()  : mixed
Define the button size
setPullSide()  : mixed
Define the pull side

Properties

Methods

__construct()

Class Constructor

public __construct(mixed $label[,  $icon = NULL ][, mixed $use_caret = FALSE ][,  $title = '' ][, mixed $height = null ]) : mixed
Parameters
$label : mixed
$icon : = NULL

Dropdown icon

$use_caret : mixed = FALSE
$title : = ''

Dropdown title

$height : mixed = null

addAction()

Add an action

public addAction( $title,  $action[,  $icon = NULL ][, mixed $popover = '' ][, mixed $add = true ]) : mixed
Parameters
$title :

Title

$action :

Action (TAction or string Javascript action)

$icon : = NULL

Icon

$popover : mixed = ''
$add : mixed = true

addActionGroup()

Add an action group

public addActionGroup(mixed $title, mixed $actions, mixed $icon) : mixed
Parameters
$title : mixed
$actions : mixed
$icon : mixed

addHeader()

Add a header

public addHeader( $header) : mixed
Parameters
$header :

Options Header

addPostAction()

Add an action

public addPostAction( $title,  $action, mixed $form[,  $icon = NULL ][, mixed $popover = '' ][, mixed $add = true ]) : mixed
Parameters
$title :

Title

$action :

Action (TAction or string Javascript action)

$form : mixed
$icon : = NULL

Icon

$popover : mixed = ''
$add : mixed = true

addSeparator()

Add a separator

public addSeparator() : mixed

clearItems()

Clear child elements

public clearItems() : mixed

getButton()

Returns the dropdown button

public getButton() : mixed

setButtonClass()

Define the button class

public setButtonClass(mixed $class) : mixed
Parameters
$class : mixed
Tags
class

CSS class

setButtonSize()

Define the button size

public setButtonSize(mixed $size) : mixed
Parameters
$size : mixed
Tags
size

sm (small) lg (large)

setPullSide()

Define the pull side

public setPullSide(mixed $side) : mixed
Parameters
$side : mixed
Tags
side

left/right


        
On this page

Search results