Skip to Content
Menu

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 »

Was this page helpful? Yes No


    A feedback message is required to submit this form.


    Please check that you have entered a valid email address.

    Enter your email address if you would like a response.

    Thank you for your feedback!

    Source File

    This functionality is part of the Nebula Companion plugin.