From 3658502c7456571935c078dc8278dc297a876788 Mon Sep 17 00:00:00 2001 From: Foxandxss Date: Tue, 8 Dec 2015 21:45:27 +0100 Subject: [PATCH] chore: add migration guide link to homepage Closes #5037 --- misc/demo/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/misc/demo/index.html b/misc/demo/index.html index 8172ff7578..5c0f3194bd 100644 --- a/misc/demo/index.html +++ b/misc/demo/index.html @@ -179,6 +179,9 @@

Installation

angular.module('myModule', ['ui.bootstrap']);

You can fork one of the plunkers from this page to see a working example of what is described here.

+

Migration to prefixes

+

Since version 0.14.0 we started to prefix all our components. If you are upgrading from ui-bootstrap 0.13.4 or earlier, + check our migration guide.

CSS

Original Bootstrap's CSS depends on empty href attributes to style cursors for several components (pagination, tabs etc.). But in AngularJS adding empty href attributes to link tags will cause unwanted route changes. This is why we need to remove empty href attributes from directive templates and as a result styling is not applied correctly. The remedy is simple, just add the following styling to your application:

.nav, .pagination, .carousel, .panel-title a { cursor: pointer; }