Skip to content
Shea Lewis edited this page Nov 16, 2015 · 1 revision

You can append or prepend HTML or plain-text to each item's title after it is defined:

...

$menu->add('Users', 'admin/users')
    ->prepend('<span class="glyphicon glyphicon-user"></span>')
    ->append('<b class="caret"></b>');

...

The package will automatically add a space where needed between the prepended/appended values and the item's title.

Remember to use the {!! !!} Blade syntax in order to properly render any HTML you may pass through here within your view files.

Table of Contents
  1. Home
  2. Installation
  3. Quick Start

Getting Started

Usage
Clone this wiki locally