Code Monkey home page Code Monkey logo

incubator-breadcrumb-flow's Introduction

Deprecated

This repository has been deprecated. Please find the latest code here: https://github.com/vaadin-component-factory/breadcrumb

Incubator Breadcrumb for Flow

Incubator Breadcrumbs for Flow is server-side component of incubator-breadcrumbs web component for Vaadin 10. It is a Web Component providing an easy way to display breadcrumb on web pages.

Screenshot of incubator-breadcrumbs

Usage

Create instance of Breadcrumbs and instances of Breadcrumb. You can set breadcrumb text and href. Also you can set property shift, which will indicate whether breadcrumb should be hidden for mobile view(when viewport is smaller then 420px).

Breadcrumbs breadcrumbs = new Breadcrumbs();
breadcrumbs.add(
    new Breadcrumb("Home","breadcrumbs/#", true),
    new Breadcrumb("Components", "breadcrumbs/#", true),
    new Breadcrumb("Incubator Components", "breadcrumbs/#"),
    new Breadcrumb("Breadcrumbs"));

Breadcrumbs "Home" and "Components" will be hidden when viewport is less then 420px

Demo

To run demo go to incubator-breadcrumbs-flow-vaadincom-demo/ subfolder and run mbn jetty:run. After server startup, you'll be able find demo at http://localhost:8080/breadcrumbs

Setting up for development:

Clone the project in GitHub (or fork it if you plan on contributing)

https://github.com/vaadin/incubator-breadcrumb-flow

To build and install the project into the local repository run

mvn install

License & Author

This Add-on is distributed under Commercial Vaadin Add-on License version 3 (CVALv3). For license terms, see LICENSE.txt.

Incubator Breadcrumb is written by Vaadin Ltd.

incubator-breadcrumb-flow's People

Contributors

alvarezguille avatar juhopiirainen avatar skrikjo avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

haiwan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.