Skip to Content

fpo()

The main way to add a component to the prototype/wireframe.

PHP June 27, 2018

Usage

PHP
nebula()->fpo($title, $description, $width, $height, $bg, $icon, $styles, $classes)

Parameters

$title
(Optional) (String) The title of the component
Default: FPO

$description
(Optional) (String) A description of the component
Default: None

$width
(Optional) (String) The width of the component
Default: 100%

$height
(Optional) (String) The height of the component
Default: 250px

$bg
(Optional) (String) The background color or "placeholder"
Default: #ddd

$icon
(Optional) (String) A Font Awesome icon representing the component
Default: None

$styles
(Optional) (String) Additional inline styles applied to the component
Default: None

$classes
(Optional) (String) Additional classes added to the component
Default: None

Parameter Notes

Using “placeholder” for $bg will create an “X” that stretches across the entire component.

Request or provide clarification »

Source File

This functionality is part of the Nebula Companion plugin.