Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Ext JS_Fourth Edition
  • Table Of Contents Toc
Learning Ext JS_Fourth Edition

Learning Ext JS_Fourth Edition

By : Carlos A Mendez Segura, Villa, Gonzalez
4.3 (4)
close
close
Learning Ext JS_Fourth Edition

Learning Ext JS_Fourth Edition

4.3 (4)
By: Carlos A Mendez Segura, Villa, Gonzalez

Overview of this book

If you are a JavaScript developer who now wants to use the Ext JS framework, this is the book for you. This guide is useful to you whether you're new to Ext JS 5 or are a seasoned expert. Experience in HTML, CSS, and JavaScript is required in order to understand and get the most out of this book.
Table of Contents (17 chapters)
close
close
16
Index

Variables


In Ext JS themes, there are a lot of variables that we can change to customize our theme, such as variables for colors, fonts, margins, borders, and many more things. To change and add variables, we need to use the Compass code syntax.

In Compass, we can define variables using the dollar ($) sign. Every time we find a word that starts with the dollar sign, it means that it's a variable that we can read or assign a value to. The following lines of code show some examples of variables:

$background-color: #f3f3f3;
$font-size: 1.5em;
$header-height: 45px;
$custom-text: 'This is a text value';

As shown in the previous code, we can assign a value using a colon (:). We can also use colors, sizes, or texts as values. We need to use a semicolon (;) every time we end a statement.

As we are extending the Neptune theme, so far, our theme has no variables set. Ext JS uses the Neptune theme's values until we define our own variables in our theme. For the theme's variables, we have two types:

  • Global...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Ext JS_Fourth Edition
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon