miphe / backbone-seed Goto Github PK
View Code? Open in Web Editor NEWSeed project with Backbone + Marionette, Grunt and Browserify.
License: GNU General Public License v3.0
Seed project with Backbone + Marionette, Grunt and Browserify.
License: GNU General Public License v3.0
Tab functionality for UI Tabs should derive from behaviors. Move this functionality to a behavior repository.
When creating Tab views, it should go something like this:
# Creates new Tab UI
tabUICollection = new UI.Collection.Navigation
tabUICollection.add { view: contentView1, label: 'Number one!' }
tabUICollection.add { view: contentView2, label: 'Second here', active: true }
tabUICollection.add { view: contentView3, label: 'And the last' }
tabUI = new Some.Nice.View
collection: tabUICollection
behaviors: [Tabbable]
Radio.channel('app').trigger 'show:view:main', tabUI
Create a UI component for tabs
In all ways possible, use Backbone.Radio instead of custom functionality from the event bus.
Marionette v3.0.0 scrapped region managers. This has been addressed in this project in favor of an app-view.
This app-view needs to have unit tests.
It's too complicated at the moment, to create a tabbed interface. I would like to do something like this:
# Example of a tab ui component
tab1View = new Some.View
model: Some.Model
tab2View = new Some.Other.View
model: Some.Other.Model
collection: Some.Collection
tab3View = new Yet.Another.View
model: Yet.Another.Model
tabUICollection = new UI.Collection.Navigation
tabUICollection.add { label: 'Number one!', view: tag1View }
tabUICollection.add { label: 'Second here', view: tag2View, active: true }
tabUICollection.add { label: 'And the last', view: tag3View }
tabNav = new UI.View.NavigationList
collection: tabUICollection
tabContent = new UI.View.TabContentList
collection: tabUICollection
Radio.channel('app').trigger 'show:view:area1', tabNav
Radio.channel('app').trigger 'show:view:area2', tabContent
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.