marionette Questions

8

I'm using a Signalr hub to subscribe to events on the server. What an event is dispatched to a hub, its successfully adding the item to a Marionette CollectionView. This, in turn, is rendered to a ...
Fullmer asked 19/3, 2012 at 12:19

1

Solved

Like my title says, I do see that Marionette Module is now deprecated and we should AMD modules instead using requirejs. That is fine and everything but the modules had a great purpose in handling ...
Reverence asked 17/6, 2015 at 20:41

1

Solved

So I am initializing a zingChart with the following code. barChartData = "type":"bar" "series":[ "values":[11,16,7,-14,11,24,-42,26,] ] $("#performance-bar-chart").zingchart( data: barCh...
Sidecar asked 24/7, 2015 at 20:27

3

Is it possible to dynamically add and remove regions to a layout with Marionette? My app needs to be able to push and pop regions from a layout. This is similar to how GitHub pushes and pops views ...
Amalekite asked 12/10, 2012 at 23:36

3

Solved

I'm trying to put together backbone application using the marionette plugin, and am having some trouble getting initializers to work the way I expected them to. I have the following code: var MyAp...
Labialize asked 16/7, 2012 at 16:9

3

Solved

How to show / hide edit icon on mouseover and mouseout on particular text. Here is my html code snippet <ul> <li> <a id="pop" href="javascript:;;" data-content="test Desc" data-i...
Preform asked 1/7, 2015 at 13:28

2

Solved

I'm using a Marionette CompositeView to render an html table. Works great! Now I want to display a message when there are no records in the collection. I'm currently using the emptyView property to...
Salinasalinas asked 28/5, 2013 at 23:3

4

Solved

When I use Backbone's model.destroy(), it seems to automatically remove that view from the DOM. Is there a way for me to use destroy() to send the DELETE request, but remove the view from the DOM ...
Spickandspan asked 24/4, 2015 at 23:59

3

Solved

In Backbone.Marionette.js CollectionViews and CompositeViews, the onDomRefresh event fires when the DOM is initially rendered and ALSO any time that an item is added to the view's collection (this ...
Lantha asked 21/10, 2013 at 21:9

5

I have a layout view with a region, in that region I have a item view that triggers an event but it doesn't seem to be bubbled up to the layout view. Am I doing something wrong or is this designed ...
Case asked 31/5, 2013 at 22:47

2

Solved

I've seen similar posts around the web and nothing anyone has suggested works for me. I'm really faced with the choice of dumping one or the other it seems at this point. This "Getting Started wit...
Iroquoian asked 2/8, 2013 at 16:48

1

I am confused by the Marionette (2.3.0) documentation from the link below that says the Application Regions feature is deprecated. A Layout View should be used instead. Does that mean I should not ...
Arber asked 6/1, 2015 at 21:39

4

Solved

Is it possible to use the Handlebars.js with the Backbone.Marionette extension without reimplementing the Views render function? It seems that Marionette is relying on the convention that you use B...
Incurable asked 29/3, 2013 at 13:8

3

Solved

I have a CollectionView class MyCollectionView extends Backbone.Marionette.CollectionView itemView: MyItemView itemViewOptions: -> { indexInCollection: ? } And I want MyItemView to know...
Mcinnis asked 20/3, 2013 at 5:26

2

Solved

I would like to access the app.vent from Marionette.ItemView. Maybe an option could be to pass a parameter (app.vent) to Marionette.ItemView from Marionette.CompositeView. Here my code: // view/...
Beggar asked 30/6, 2012 at 9:42

2

Solved

I have a Marionette CompositeView with a search panel and the collection of result data. I would like to call a function when: the search panel is rendered. the collection is not rendered yet. ...
Alliterate asked 30/8, 2012 at 22:5

3

Solved

I was using Backbone LayoutManager for managing my views within the app. I wanted to try marionette. I came across a issue where i couldn't append a view to a region. HTML <body> <div i...
Austriahungary asked 19/5, 2013 at 10:33

4

Solved

I am refactoring my Backbone.js application to use Marionette.js, and I am trying to wrap my head around a CollectionView. Suppose I have several ItemViews with the model Cow: // Declare my models....

5

Solved

Is there a convenient way to add an effect when I leave a page (close a view/layout) and open a new one in the same region ? (something like a fade effect)
Bergwall asked 26/7, 2012 at 16:5

1

Solved

According to the v2.4.1 Marionette documentation controllers are being deprecated: Warning: deprecated. The Controller object is deprecated. Instead of using the Controller class with the AppRo...
Undistinguished asked 9/3, 2015 at 13:46

2

Solved

I would like to fetch model from specific url with parameter: url: server/somecontroller/id/?type=gift Simple working way is: collection.fetch({ data: { type: 'gift'} }); But I want to set it i...
Taw asked 20/9, 2012 at 22:22

2

Solved

I'm beginning a large scale javascript application with Marionette. A Marionette application has a concept of application Modules and RequireJS is also used to break code into modules, currently I...
Oof asked 6/7, 2012 at 14:29

3

Solved

I don't know the proper place to post this question but I was reading the Marionette docs and saw the following code when describing Marionette.Behaviors: var MyView = Marionette.ItemView.extend...
Pontias asked 9/2, 2015 at 22:48

1

I am working on an application based on Backbone and Marionette. I am using composite view to show an table now I want to update multiple child view's together So I want their object and model. So ...
Capper asked 30/1, 2015 at 12:15

1

Solved

I was reading the documentation of the latest version (2.3.0) and it is saying that Application Regions are now deprecated. Application Regions Warning: deprecated This feature is depre...
Reputable asked 6/1, 2015 at 21:41

© 2022 - 2024 — McMap. All rights reserved.