Class Reveal
Reveal renders the markup for the modal dialog plugin of Foundation
- CWidget
- foundation\widgets\base\Widget
- foundation\widgets\Reveal
Package: foundation\widgets
Author: Antonio Ramirez <amigo.cobos@gmail.com>
See: http://foundation.zurb.com/docs/components/reveal.html
Located at widgets/Reveal.php
Methods summary
public
|
|
public
|
|
public
string
|
|
public
null|string
|
|
protected
string
|
|
public
|
Methods inherited from foundation\widgets\base\Widget
display()
,
registerAssets()
,
registerEvents()
,
registerPlugin()
Magic methods summary
Properties summary
public
string
|
$size |
#
the size of the modal |
public
string
|
$header |
#
header. The string will be wrapped on a H2 tag |
public
array
|
$headerHtmlOptions |
#
the header html options |
public
string
|
$body |
#
the body of the modal |
public
array
|
$pluginOptions |
#
the plugin options. The following is the list of supported options and their default values: ´´´php array( |
public
string[]
|
$events |
#
the events of the modal. The following list is the supported events:
|
public
array
|
$toggleButton |
#
the options for rendering the toggle button tag. The toggle button is used to toggle the visibility of the modal window. If this property is null, no toggle button will be rendered. The following special options are supported:
The rest of the options will be rendered as the HTML attributes of the button tag. Please refer to the [Modal plugin help](http://foundation.zurb.com/docs/components/reveal.html) for the supported HTML attributes. |
public
array
|
$closeButton |
#
the options for rendering the close button tag. The close button is displayed in the header of the modal window. Clicking on the button will hide the modal window. If this is null, no close button will be rendered. The following special options are supported:
The rest of the options will be rendered as the HTML attributes of the button tag. Please refer to the [Modal plugin help](http://foundation.zurb.com/docs/components/reveal.html) for the supported HTML attributes. |