From 93831857e65e5771f6e3c21ad2515e2f6d90aa47 Mon Sep 17 00:00:00 2001 From: Alessandro Ferro <49845537+xfarrow@users.noreply.github.com> Date: Mon, 7 Mar 2022 12:06:34 +0100 Subject: [PATCH] Update README.md --- README.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) 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 + + + +