akserg / angular2-ui-bootstrap Goto Github PK
View Code? Open in Web Editor NEWThere are Angular 2 Components for Bootstrap.
License: Apache License 2.0
There are Angular 2 Components for Bootstrap.
License: Apache License 2.0
Swap Component
designed to be composed by other components. It exposes the functionality of the Swap Effect
as a simple container element with corresponding methods to swap
between child elements via code. Tabs Component
and Carousel Component
both use this component.
Shrink Effect
plays with max-height
and max-width
of an Html Element to shrink it.
Spin Effect
helps organize rotation effect on an Html Element with -webkit-transform
CSS3 Transition Effect
extends Visual Effect
class to change transitionProperty
and 'transitionDuration' of an Html Element to make an animation happens.
TSC generate next issues:
src\components\visible-component.spec.ts(31,35): error TS2339: Property 'toRx' does not exist on type 'EventEmitter<string>'.
src\components\visible-component.spec.ts(41,35): error TS2339: Property 'toRx' does not exist on type 'EventEmitter<string>'.
src\components\visible-component.spec.ts(51,35): error TS2339: Property 'toRx' does not exist on type 'EventEmitter<string>'.
Collapsible Component
uses Visible Effect
and Shrink Effect
to reach collapses of an Html Element. The header element for Collapse Component
is a child element with class accordion-heading
. The rest of the children are rendered as content. Collapse Component
listens for click
events and toggles visibility of content if the click target has attribute data-toggle="collapse"
.
Tabs Component
is togglable tabs. The tab headers are processed as all child <li>
elements in content. The rest of the child elements are considered tab content. Tabs Component
responds to click events from any child with data-toggle="tab"
or data-toggle="pill"
. The target content id
is either the value of data-target
on the clicked element or the anchor in href
.
Accordion Component
wraps a set of Collapsible Components
.
Visible Effect Manager
provide following methods:
show
,hide
,toggle
,begin
Custom effects, duration, and easing values can be provided via begin
method.
The Modal Component
leverages the Modal Effect
.
Modal Component
is hidden when added to a page. It can be displayed by calling the show
method.
Similar to Alert Component
, elements with the attribute data-dismiss="modal"
will close Modal Component
when clicked.
src\components\collapsible-component.ts(3,48): error TS2307: Cannot find module 'angular2/src/core/facade/promise'.
src\components\visible-component.ts(15,39): error TS2314: Generic type 'EventEmitter<T>' requires 1 type argument(s).
src\effects\animating-values.ts(1,22): error TS2307: Cannot find module 'angular2/src/core/facade/lang'.
src\effects\animating-values.ts(3,48): error TS2307: Cannot find module 'angular2/src/core/facade/promise'.
src\effects\animating-values.ts(4,28): error TS2307: Cannot find module 'angular2/src/core/facade/async'.
src\effects\css-transition-effect.ts(3,22): error TS2307: Cannot find module 'angular2/src/core/facade/lang'.
src\effects\css-transition-effect.ts(4,28): error TS2307: Cannot find module 'angular2/src/core/facade/async'.
src\effects\visible-effect-manager.ts(2,22): error TS2307: Cannot find module 'angular2/src/core/facade/lang'.
src\utils\dom.ts(1,22): error TS2307: Cannot find module 'angular2/src/core/facade/lang'.
Slide Effect
displays en Html Element with sliding motion.
Visible Component
has two states:
visible
. Following methods help to make any
Visible Component` to be visible or hidden:show
hide
toggle
Fade Effect
manages opacity
style property to reach faddiness of element.
Modal Manager
controls the display of the provided element while also creating a dark backdrop on the page. Any element used should have a fixed position, a z-index
greater than 1040
, and an initial display of none
.
Door Effect
changes -webkit-transform
style property of an Html Element.
CSS 3 Effects is name based enumeration of CSS 3 effect like:
linear
ease
ease-in
ease-in-out
ease-out
Carousel Component
allows moving back and forth through a set of child elements. Carousel Component
leverages the Swap Component
to render the transition between items.
Demo must show all components implemented on the moment of release.
Scale Effect
changes the size of an Html Element with -webkit-transform-origin
.
Visible Effect
changes element's display to make it visible or hidden after specific amout of time
02 12 2015 08:48:12.698:WARN [web-server]: 404: /angular2/src/core/dom/browser_adapter
Chrome 46.0.2490 (Windows 7 0.0.0) ERROR
Error: XHR error (404 Not Found) loading http://localhost:9876/angular2/src/core/dom/browser_adapter
Dropdown Component
content is inferred from all child elements that have class dropdown-menu
. Bootstrap defines a CSS selector for .dropdown-menu
with an initial display of none
.
Dropdown Component
listens for click
events and toggles visibility of content if the click target has attribute data-toggle="dropdown"
.
Bootstrap also defines a CSS selector which sets display: block;
for elements matching .open > .dropdown-menu
. When Dropdown Component
opens, the class open
is added to the inner element wrapping all content. Causing child elements with class dropdown-menu
to become visible.
Alert Component displays information marked as:
alert-success
,alert-info
,alert-warning
,alert-danger
.data-dismiss='alert'
will cause Alert Component
to close.A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.