diff --git a/README.md b/README.md index bcfde8c..34c5c97 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,14 @@ It's similar to Microsoft's WebForms with a great layout by default (like DevExp ## Available components * Table * Card +* Breadcumb -## Example +## Examples ### Table The following code + ``` $employees = array($employee1, $employee2, $employee3); @@ -28,12 +30,14 @@ $table->draw(); ``` produces the following output + Demo ### Card The follwing code + ``` Card::beginCardGroupLayout(36); @@ -80,6 +84,29 @@ Card::endCardGroupLayout(); ``` produces the following output + Demo $card2 receives a DataSource whereas $card1 does not. + +### Breadcrumb + +The follwing code + +``` + $links["Github"] = "https://www.github.com"; + $links["xfarrow"] = "https://www.github.com/xfarrow"; + $links["PhpXpress"] = "https://www.github.com/xfarrow/phoxpress"; + + $breadcrumb = new BreadCrumb; + + $breadcrumb->setDataSource($links); + $breadcrumb->draw(); +``` + +Produces the following output: +Demo + + + +