Skip to content

Commit

Permalink
Merge branch 'master' of github.com:aurelia-ui-toolkits/aurelia-mater…
Browse files Browse the repository at this point in the history
…ialize-bridge
  • Loading branch information
Thanood committed Feb 5, 2016
2 parents c72ebf7 + 7103c9d commit 827328b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
17 changes: 17 additions & 0 deletions sample/src/help/docs/about-this-application/introduction.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
<br>

### 1. Introduction
<br>
<br>
This application derives from the marvelous [aurelia-kendoui-bridge](https://github.com/aurelia-ui-toolkits/aurelia-kendoui-bridge) catalog. But it's a bit more complicated than that because in fact it is made from several repositories which would pave the way for a more generalized approach to deliver a [skeleton for bridge developers](https://github.com/aurelia-ui-toolkits/skeleton-bridge).

It features an Aurelia plugin wrapping a UI library (thus the term bridge here) while at the same time providing a consumer application to test and showcase the components of that bridge. This way, each newly added "wrapper" to [this folder](https://github.com/aurelia-ui-toolkits/aurelia-materialize-bridge/tree/master/src) can immediately be tested in this [embedded application](https://github.com/aurelia-ui-toolkits/aurelia-materialize-bridge/tree/master/sample/src).

As with the KendoUI bridge catalog, this application can now be seen as the **[Catalog](#/samples)** with the __embedded__ **[plugin](https://github.com/aurelia-ui-toolkits/aurelia-materialize-bridge/tree/master/src)**.

This help category named **"About this application"** (the article you are reading now) refers to the **[standalone instance](http://aurelia-ui-toolkits.github.io/demo-materialize)** of the **[embedded sample application](https://github.com/aurelia-ui-toolkits/aurelia-materialize-bridge/tree/master/sample)** in the **[Aurelia-Materialize bridge](https://github.com/aurelia-ui-toolkits/aurelia-materialize-bridge)** project.
<br><br>


This explanation will make more sense after checking the information in the category **[Bridge developers tutorials](#/help/docs/bridge_developers_tutorials/1._introduction)**, which explains the overall structure of the Aurelia plugin project which **implements** the Materialize bridge. Note that we are using the term **bridge** to point out the specific **purpose** of the Aurelia Materialize plugin project - to implement the Aurelia friendly interface / bridge to Materialize controls set.
<br>
<br>
<br>
#### We suggest to read the [Navigation page](#/help/docs/about_this_application/2._navigation_guide) next.
7 changes: 6 additions & 1 deletion src/carousel/carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ export class MdCarousel {
this.element.classList.add('carousel-slider');
}

$(this.element).carousel();
// workaround for: https://github.com/Dogfalo/materialize/issues/2741
if (getBooleanFromAttributeValue(this.mdSlider)) {
$(this.element).carousel({full_width: true});
} else {
$(this.element).carousel();
}
}
}

0 comments on commit 827328b

Please sign in to comment.