developer
Open Source
APIs
Advertising
Blogs
Events
Podcasts
Apps
Input to search
Mojito
Mojito
Sign In
English (U.S.)
中文(香港)
中文(台灣)
YDN Apps
Flurry Apps
Search SDK Apps
developer
Open Source
APIs
Advertising
Blog
Events
Podcasts
Apps
Mojito
Documentation
Introducing Mojito
Overview
Mojito: A Quick Tour
Mojito Architecture
Mojito Applications
Creating and Using the Mojito Application Bootstrap File: app.js
Mojits
MVC in Mojito
Mojito Conventions
Routing
Configuring Mojito
Mojito Binders
Static Resources
Getting Started with Mojito
Mojito Quickstart
Tutorial: Creating Your First Application
Mojito Dashboard Tutorial
Introduction
1. Mojito CLI Basics
2. Mojits: Powering Your App
3. Frame Mojits
4. Composite Mojits
5. Getting Data
6. Testing in Mojito
7. Mojito on the Client
8. Advanced Configuration: Contexts, Routing, and YUI
9. Handlebars, Templates, and Custom Views
10. Localizing Your Application
Code Examples
Overview of Code Examples
Configuration
Views
Assets
Data Access
Binding Events
Inter-Mojit Communication
Other
Developer Topics
Assets
Data in Mojito
Logging
Testing
Handlebars in Mojito
Composite Mojits
Running Dynamically Defined Mojit Instances
Frame Mojits
Extending Mojito
Using Context Configurations
Configuring YUI in Mojito
Mojito and npm Packaging
Resource Store
Startup Requirements for Mojito in Hosting Environments
Mojito API Overview
Action Context
Action Context Addons
REST Library
Client Object
Mojito: FAQ
Mojito Reference
Mojito Command Line
Troubleshooting
Glossary
Additional Resources
Sign In
Language:
English (U.S.)
中文(香港)
中文(台灣)
Assets
¶
These examples show you how to add assets such as CSS and JavaScript to your application.
Adding CSS
Attaching Assets with HTMLFrameMojit
Dynamically Adding CSS to Different Devices
Using Global Assets
Including YUI Modules