angular-ui-bootstrap-tabs-include

WebJar for angular-ui-bootstrap-tabs-include

Лицензия

Лицензия

MIT
Категории

Категории

Angular Взаимодействие с пользователем Веб-фреймворки
Группа

Группа

org.webjars.bower
Идентификатор

Идентификатор

angular-ui-bootstrap-tabs-include
Последняя версия

Последняя версия

0.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

angular-ui-bootstrap-tabs-include
WebJar for angular-ui-bootstrap-tabs-include
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/amarnus/angular-ui-bootstrap-tabs-include

Скачать angular-ui-bootstrap-tabs-include

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.bower/angular-ui-bootstrap-tabs-include/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>angular-ui-bootstrap-tabs-include</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/angular-ui-bootstrap-tabs-include/
implementation 'org.webjars.bower:angular-ui-bootstrap-tabs-include:0.1.0'
// https://jarcasting.com/artifacts/org.webjars.bower/angular-ui-bootstrap-tabs-include/
implementation ("org.webjars.bower:angular-ui-bootstrap-tabs-include:0.1.0")
'org.webjars.bower:angular-ui-bootstrap-tabs-include:jar:0.1.0'
<dependency org="org.webjars.bower" name="angular-ui-bootstrap-tabs-include" rev="0.1.0">
  <artifact name="angular-ui-bootstrap-tabs-include" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='angular-ui-bootstrap-tabs-include', version='0.1.0')
)
libraryDependencies += "org.webjars.bower" % "angular-ui-bootstrap-tabs-include" % "0.1.0"
[org.webjars.bower/angular-ui-bootstrap-tabs-include "0.1.0"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.webjars.bower : angular-ui-bootstrap-bower jar [0.12.0,0.13)

Модули Проекта

Данный проект не имеет модулей.

Angular UI Bootstrap Tab Include

This directive allows you to lazily load HTML fragments into Bootstrap tabs.

Requirements

Angular UI Bootstrap

Installation

Install using bower

bower install --save angular-ui-bootstrap-tabs-include

Load the script files into your application.

<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js"></script>
<script src="bower_components/angular-ui-bootstrap-tabs-include/lib/angular-ui-bootstrap-tabs-include.js"></script>

Add this module as a dependency in your AngularJS app.

angular.module('myApp', [ 'ui.bootstrap', 'ui.bootstrap.tabs.include' ]);

Usage

The tabInclude directive is a simple wrapper around ngInclude that is aware of the tab state.

For each of the tabs in your tabset, you can now include a tab-include attribute that points to a partial which will be loaded into the tab pane when selected.

<tabset>
    <tab heading="Foo" tab-include="'partials/foo.html'"></tab>
    <tab heading="Bar" tab-include="'partials/bar.html'"></tab>
</tabset>

Other options supported by ngInclude are supported by tabInclude as well:

  • tab-onload
  • tab-autoscroll

You can read about the ngInclude directive and its options from here.

See Also

http://blog.xebia.com/2013/08/28/bootstraps-tabs-and-lazy-data-loading-in-angularjs

Версии библиотеки

Версия
0.1.0