/* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. * Licensed under the BSD-3 License as modified (the “License”); you may obtain a copy * of the license at https://github.com/palantir/blueprint/blob/master/LICENSE * and https://github.com/palantir/blueprint/blob/master/PATENTS */ import * as React from "react"; import { Switch, Tab, TabList, TabPanel, Tabs } from "@blueprintjs/core"; import BaseExample, { handleBooleanChange } from "./common/baseExample"; export class TabsExample extends BaseExample<{ isVertical?: boolean }> { public state = { isVertical: false, }; private toggleIsVertical = handleBooleanChange((isVertical) => this.setState({ isVertical })); protected renderExample() { return ( React Angular Ember Backbone

Example panel: React

Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.

Example panel: Angular

HTML is great for declaring static documents, but it falters when we try to use it for declaring dynamic views in web-applications. AngularJS lets you extend HTML vocabulary for your application. The resulting environment is extraordinarily expressive, readable, and quick to develop.

Example panel: Ember

Ember.js is an open-source JavaScript application framework, based on the model-view-controller (MVC) pattern. It allows developers to create scalable single-page web applications by incorporating common idioms and best practices into the framework. What is your favorite JS framework?

Backbone

); } protected renderOptions() { return [ [ , ], ]; } }