售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Web Developer's Reference Guide
Table of Contents
Web Developer's Reference Guide
Credits
About the Authors
About the Reviewers
www.PacktPub.com
eBooks, discount offers, and more
Why subscribe?
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. HTML Elements
DOCTYPE
Attributes
Description
html
Attributes
Description
Document metadata
head
Description
title
Description
link
Attributes
Description
See also
meta
Attributes
Description
See also
style
Attributes
Description
See also
base
Attributes
Description
See also
script
Attributes
Description
noscript
Description
Semantic content sections
body
Attributes
Description
section
Description
nav
Description
article
Description
Headings
Description
See also
header
Description
See also
footer
Description
address
Description
aside
Description
p
Description
Content sections
hr
Description
pre
Description
blockquote
Attributes
Description
ol
Attributes
Description
See also
ul
Description
See also
li
Attributes
Description
See also
dl
Description
See also
dt
Description
See also
dd
Description
See also
figure
Description
See also
figcaption
Description
See also
div
Description
main
Description
Inline elements
a
Attributes
Description
abbr
Description
bdo
Attributes
Description
br
Description
cite
Description
code
Description
dfn
Description
em
Description
kbd
Description
mark
Description
q
Attributes
Description
See also
s
Description
samp
Description
small
Description
span
Description
strong
Description
sub
Description
sup
Description
time
Attributes
Description
var
Description
wbr
Description
Embedded content
img
Attributes
Description
iframe
Attributes
Description
embed
Attributes
Description
See also
object
Attributes
Description
See also
param
Attributes
Description
video
Attributes
Description
See also
audio
Attributes
Description
See also
source
Attributes
Description
See also
track
Attributes
Description
Tables
table
Description
caption
Description
colgroup
Attributes
Description
tbody
Description
thead
Description
tfoot
Description
tr
Description
td
Attributes
Description
th
Attributes
Description
Forms
Form
Attributes
Description
fieldset
Attributes
Description
See also
legend
Description
See also
label
Attributes
Description
input
Attributes
Description
button
Attributes
Description
select
Attributes
Description
See also
optgroup
Attributes
Description
See also
option
Attributes
Description
See also
textarea
Attributes
Description
Drawing elements
canvas
Attributes
Description
svg
Attributes
Description
2. HTML Attributes
Global attributes
accesskey
Description
class
Description
contenteditable
Description
data-*
Description
dir
Description
draggable
Description
hidden
Description
id
Description
lang
Description
spellcheck
Description
style
Description
tabindex
Description
title
Description
Miscellaneous
accept
Elements
Description
accept-charset
Elements
Description
action
Elements
Description
alt
Elements
Description
async
Elements
Description
autocomplete
Elements
Description
autofocus
Elements
Description
autoplay
Elements
Description
autosave
Elements
Description
cite
Elements
Description
cols
Elements
Description
colspan
Elements
Description
datetime
Elements
Description
disabled
Elements
Description
download
Elements
Description
content
Elements
Description
controls
Elements
Description
for
Elements
Description
form
Elements
Description
formaction
Elements
Description
height
Elements
Description
href
Elements
Description
hreflang
Elements
Description
label
Elements
Description
list
Elements
Description
loop
Elements
Description
max
Elements
Description
maxlength
Elements
Description
media
Elements
Description
method
Elements
Description
min
Elements
Description
multiple
Elements
Description
name
Elements
Description
novalidate
Elements
Description
pattern
Elements
Description
placeholder
Elements
Description
poster
Elements
Description
readonly
Elements
Description
rel
Elements
Description
required
Elements
Description
reversed
Elements
Description
rows
Elements
Description
rowspan
Elements
Description
scope
Elements
Description
selected
Elements
Description
size
Elements
Description
src
Elements
Description
start
Elements
Description
step
Elements
Description
type
Elements
Description
value
Elements
Description
width
Elements
Description
wrap
Elements
Description
3. CSS Concepts and Applications
Basic selectors
The simple selector
The type selectors
Description
The universal selector
Description
The attribute selectors
Description
The class selectors
Description
The ID selectors
Description
Combinators
Descendant combinator
Description
The child combinator
Description
The adjacent sibling combinator
Description
The general sibling combinator
Description
The selector specificity
Pseudo-classes
The link pseudo-classes
:link
Description
:visited
Description
User action pseudo-classes
:active
Description
:focus
Description
:hover
Description
The structural selectors
:first-child
Description
:first-of-type
Description
:last-child
Description
:last-of-type
Description
:nth-child()
Description
:nth-last-child
Description
See also
:nth-last-of-type and :nth-of-type
Description
See also
:only-child
Description
:only-of-type
Description
Validation
:checked
Description
:default
Description
:disabled and :enabled
Description
:empty
Description
:in-range and :out-of-range
Description
:invalid and :valid
Description
:not or negation
Description
:optional and :required
Description
:lang()
Description
Pseudo-elements
::before and ::after
Description
See also
::first-letter
Description
::first-line
Description
::selection
Description
Generated content
content
Parameters
Description
Quotation marks
Parameters
Description
4. CSS Properties – Part 1
Animation
Base markup and CSS
animation-name
Description
animation-duration
Description
animation-iteration-count
Description
animation-direction
Description
animation-delay
Description
animation-fill-mode
Description
animation-play-state
Description
animation-timing-function
ease
ease-in
ease-out
ease-in-out
linear
cubic-bezier()
Parameters
Description
steps()
Parameters
Description
animation
Description
Final CSS code
Longhand style
Shorthand style
Background
background-attachment
Description
background-blend-mode
Description
background-clip
Description
inherit
border-box
padding-box
content-box
background-color
Description
background-image
Description
Linear
Radial
background-origin
Description
background-position
Description
Predefined keywords
Percentages
Length
background-repeat
Description
background-size
Description
Length value
Percentage value
auto
contain
cover
background
Box model
width
Description
Length value
Percentage value
auto
max-content
min-content
fit-content
height
Description
Length value
Percentage value
inherit
padding
Description
margin
Description
Collapsing margins
border
border-width
border-style
border-color
box-sizing
Description
content-box
border-box
max-height
Description
Length value
Percentage value
max-width
Description
Length value
Percentage value
min-height
Description
Length value
Percentage value
min-width
Description
Length value
Percentage value
object-fit
Description
contain
cover
fill
none
scale-down
object-position
Description
Border radius
border-radius
Description
Length value
Percentage value
Unit
Relative length units
Description
ex
ch
em
rem
The % sign
Viewport-relative length units
Description
vh
vw
vmin
vmax
Absolute length units
Description
cm
mm
in
pc
pt
px
Angle data types
Description
deg
grad
rad
turn
Resolution units
Description
dpi
dpcm
dppx
Duration units
Description
ms
s
Column
column-count
Description
column-fill
Description
column-gap
Description
column-rule
Description
column-rule-color
column-rule-style
column-rule-width
column-span
column-width
columns
Flexible box (flexbox)
flex-grow
Description
flex-shrink
Description
flex-basis
Description
flex-direction
Description
row
row-reverse
column
column-reverse
flex-wrap
Description
nowrap
wrap
wrap-reverse
flex-flow
Description
align-content
Description
flex-start
flex-end
center
space-around
space-between
stretch
align-items
Description
flex-start
flex-end
center
baseline
stretch
align-self
Description
flex-start
flex-end
center
baseline
stretch
order
Description
justify-content
Description
flex-start
flex-end
center
space-between
space-around
flex
Summary
5. CSS Properties – Part 2
Fonts
font-family
Description
Family name
Generic family names
font-feature-settings
Description
font-size
Description
Absolute keywords/size
Relative size keywords
Length
Percentage
font-size-adjust
Description
font-stretch
Description
font-style
Description
font-variant
Description
font-variant-ligatures
Description
font-weight
Description
Numeric values
Keyword values
font
Description
Transform
transform
Description
scale()
skew()
skewX() and skewY()
translate()
translateX() and translateY()
rotate()
matrix()
perspective()
transform-origin
Description
transform-style
Description
Transition
transition
Description
transition-delay
Description
transition-duration
Description
transition-property
Description
transition-timing-function
Positioning
position
Description
static
absolute
relative
fixed
sticky
top
Description
bottom
Description
left
Description
right
Description
vertical-align
Description
Text
color
Description
text-align
Description
text-decoration
Description
text-decoration-line
Description
text-decoration-color
Description
text-decoration-style
Description
text-indent
Description
text-overflow
Description
clip
ellipsis
text-rendering
Description
auto
optimizeSpeed
optimizeLegibility
geometricPrecision
text-shadow
Description
text-transform
Description
text-underline-position
Description
auto
left
right
under
direction
Description
Tables
table-layout
Description
border-collapse
Description
border-spacing
Description
empty-cells
Description
caption-side
Description
Words and paragraphs
hyphens
Description
Unicode characters to suggest line break opportunities
word-break
Description
normal
break-all
keep-all
word-spacing
Description
normal
Length value
Percentage value
word-wrap
Description
line-height
Description
orphans
Description
quotes
Description
none
[string string +] value
widows
Description
writing-mode
Description
horizontal-tb
vertical-rl
vertical-lr
letter-spacing
Description
white-space
Description
normal
nowrap
pre
pre-wrap
pre-line
tab-size
Description
Paging
page-break-after
Description
page-break-before
Description
page-break-inside
Description
6. CSS Properties – Part 3
Page box
bleed
Description
marks
Description
List
list-style
Description
list-style-type
Description
list-style-position
Description
inside
outside
list-style-image
Description
Counter
counter-reset
Description
name
number
counter-increment
Description
name
number
Drop shadows
box-shadow
Description
Length values
Color value
inset
Display and visibility
all
Description
clear
Description
display
Description
Table-related values
opacity
Description
filter
Description
blur()
brightness()
contrast()
drop-shadow()
grayscale()
hue-rotate()
invert()
opacity()
saturate()
sepia()
url()
overflow
Description
overflow-x
Description
overflow-y
Description
visibility
Description
z-index
Description
Masking and clipping
mask
Description
mask-clip
Description
mask-composite
Description
mask-image
Description
mask-mode
Description
Alpha masks
Luminance masks
mask-origin
Description
mask-position
Description
mask-repeat
Description
mask-size
Description
mask-type
mask-border
Description
mask-border-source
mask-border-mode
mask-border-slice
Description
fill
mask-border-width
Description
auto
mask-border-outset
Description
mask-border-repeat
Description
repeat
round
stretch
space
clip-path
Description
url()
circle()
ellipse()
inset()
polygon()
none
Image rendering and orientation
image-orientation
Description
image-rendering
Description
User interface
cursor
Description
A URL (or URI)
X and Y coordinates
32 keyword values
pointer-events
Description
none
auto
outline
Description
3-Dimensional
perspective
Description
normal
Length value
perspective-origin
Description
Length value
Percentage value
Keyword values
backface-visibility
Description
Summary
7. CSS Functions
Filter
brightness()
Description
contrast()
Description
grayscale()
Description
invert()
Description
hue-rotate()
Description
blur()
Description
saturate()
Description
sepia()
Description
Transforms
matrix()
Description
matrix3d()
Description
rotate()
Description
rotate3d()
Description
rotateX()
Description
rotateY()
Description
rotateZ()
Description
scale()
Description
scale3d()
Description
scaleX()
Description
scaleY()
Description
scaleZ()
Description
skew()
Description
skewX()
Description
skewY()
Description
steps()
Description
translate()
Description
translate3d()
Description
translateX()
Description
translateY()
Description
translateZ()
Description
Colors
hsl() and hsla()
Description
rgb() and rgba()
Description
Gradients
linear-gradient()
Description
Direction
Color stops
radial-gradient()
Description
Position
Sizing
repeating-linear-gradient()
Description
repeating-radial-gradient()
Description
Values
attr()
Description
Responsive Table
calc()
Description
url()
Description
cubic-bezier()
Description
Miscellaneous
drop-shadow()
Description
element()
Description
image()
Description
opacity()
Description
perspective()
Description
rect()
Description
At-rules
@charset
Description
@document()
Description
@font-face
Description
WOFF/WOFF2
EOT
OTF and TTF
SVG
font-family
src
font-variant
font-stretch
font-weight
unicode-range
Google fonts
@import
Description
@keyframes
Description
@media
Description
Media types
@namespace
Description
@page
Description
@supports
Description
The not operator
The and operator
The or operator
Global CSS keyword values
auto
inherit
initial
none
normal
unset
revert
Summary
8. JavaScript Implementations, Syntax Basics, and Variable Types
History of JavaScript
Evolution of JavaScript
JavaScript implementations
Core JavaScript (ECMAScript)
Document object model (DOM)
Browser object model (BOM)
Client-side JavaScript
Adding JavaScript into a web page
Loading external JavaScript files
Writing our first program in JavaScript
Prerequisites
How to do it
Server-side JavaScript
Server side
Client side
Scripting with Rhino
Description
Node.js
Description
The language syntax
Language
Type
The character set
Case sensitivity
Description
Whitespaces and line breaks
Description
The Unicode escape sequence
Description
Normalization
Identifiers
Reserved keywords
Protected reserved words
New reserved words
Future reserved words
Comments
Multiple-line comments
One-line comments
The HTML comment opening sequence
Literals
Object literals
Description
Array literals
Description
Boolean literals
Integers
Description
Floating point literals
Description
String literals
Description
Statements
Conditional statements
The loop statement
Object manipulation statements
Exception handling statements
Optional semicolon
Data type
The typeof operator
Description
The undefined type
Description
The null type
Description
The number type
Description
The Boolean type
Description
The string type
Description
The object type
Description
Variable, scope, and memory
Variable declaration
The variable scope
Local scope variables
Description
Global scope variables
Description
Primitive and reference values
Primitive type values
Description
Reference type values
Description
The execution context and scope
The global code
The function code
The eval code
Garbage collection
Objects
Arrays
Functions
9. JavaScript Expressions, Operators, Statements, and Arrays
Expressions
Primary expressions
Object initializer
The function definition expression
The function declaration
The function expression
The property access expression
The bracket notation
The dot notation
The invocation expression
Invocation target
The optional argument list
The object creation expression
Evaluation expression
Operators
Overview
Binary operator
Unary operator
Ternary operator
Arithmetic operators
The + operator
Returns
Parameter
Description
The - operator
Returns
Parameter
Description
The * operator
Returns
Parameter
Description
The / operator
Returns
Parameter
Description
The % operator
Returns
Parameter
Description
The ++ Operator
Returns
Parameter
Description
The -- Operator
Returns
Parameter
Description
Logical operators
The && Operator
Returns
Parameter
Description
The || Operator
Returns
Parameter
Description
The ! Operator
Returns
Parameter
Description
Assignment operators
The = operator
Returns
Parameters
Description
The += operator
Returns
Parameters
Description
The -= operator
Returns
Parameters
Description
The *= Operator
Returns
Parameters
Description
The /= Operator
Returns
Parameters
Description
The %= Operator
Parameters
Returns
Description
Exponentiation assignment (**=)
Relational operators
The < operator
Returns
Parameter
Description
The <= Operator
Returns
Parameter
Description
The > Operator
Returns
Parameter
Description
The >= Operator
Returns
Parameter
Description
The != Operator
Returns
Parameter
Description
The == Operator
Returns
Parameter
Description
The === Operator
Returns
Parameter
Description
Statements
Expression statements
Compound empty statements
Declaration statements
function
var
Conditional statements
If statements
Syntax
Example
Else if statements
Syntax
Example
Switch statement
Syntax
Example
Loops
For loop
Syntax
Example
While loop
Syntax
Example
Do while loop
Syntax
Example
For in loop
Syntax
Example
Jumps and labeled statements
Break statement
Syntax
Example
Continue statement
Syntax
Example
Return statement
Syntax
Example
Throw statement
Syntax
Example
Try catch finally statement
Syntax
Arrays
Array types
Array type object
Creating arrays
Array initializer
Array constructor
Reading and writing array elements
Multidimensional arrays in JavaScript
Properties in an array
Length
Returns
Description
Constructor
Prototype
Array methods
concat()
Returns
Parameter
Description
every()
Returns
Parameter
Description
foreach()
Returns
Parameter
Description
join()
Returns
Parameter
Description
pop()
Returns
Parameter
Description
push()
Returns
Parameter
Description
indexOf()
Returns
Parameter
Description
lastIndexOf()
Returns
Parameter
Description
reverse()
Returns
Parameter
Description
shift()
Returns
Parameter
Description
unshift()
Returns
Parameter
Description
slice()
Returns
Parameter
Description
splice()
Returns
Parameter
Description
sort()
Returns
Parameter
Description
toString()
Returns
Parameter
Description
ECMA5 Array methods
array.prototype.map()
Returns
Parameters
Description
array.prototype.filter()
Returns
Parameters
Description
array.prototype.reduce()
Returns
Parameters
Description
array.prototype.forEach()
Returns
Parameter
Description
array.prototype.indexOf()
Returns
Parameter
Description
array.prototype.lastIndexOf()
Returns
Parameter
Description
array.prototype.every()
Returns
Parameter
Description
array.prototype.some()
Returns
Parameters
Description
array.prototype.reduceRight()
Returns
Parameters
Description
10. JavaScript Object-Oriented Programming
Polymorphism
Encapsulation
Inheritance
Abstraction
Objects
Creating objects
Object literals
The new keyword
The object.create() method
Design patterns
Constructor pattern
Description
Simple constructors
Prototype constructors
Module pattern
Description
Object literal notation
The module pattern
The revealing module pattern
Description
The singleton pattern
Description
The observer pattern
Description
The mediator pattern
Description
The prototype pattern
Description
Command pattern
Description
The facade pattern
Description
The factory pattern
Description
The mixin pattern
Description
Property getter and setter
Description
Deleting properties
Description
Testing properties
Description
Enumerating properties
Description
Property attributes
Description
Object attributes
Serializing objects
Description
Objects methods
Description
Functions and methods
Invoking functions
Defining functions
Function arguments and parameters
Parameters and return values
Functions as namespace
Closure
Function properties
Methods
Function constructor
Classes and modules
Classes and prototypes
Constructors
Defining a class
Using a function
Using object literals
Classes in the ECMA5 script
Modules
Inheritance
Prototype chaining
Description
Constructor stealing
Description
Combination inheritance
Description
Prototypal inheritance
Description
Parasitic inheritance
Description
Parasitic combination inheritance
Description
Subclasses
Built-in objects
Global objects
Description
Date object
getTime()
Parameters
Returns
Description
getMilliseconds()
Parameters
Returns
Description
getMinutes()
Parameters
Returns
Description
getHours()
Parameters
Returns
Description
getDate()
Parameters
Returns
Description
getDay()
Parameters
Returns
Description
getMonth()
Parameters
Returns
Description
getFullYear()
Parameters
Returns
Description
Set date methods
Math object
min()
Parameters
Returns
Description
max()
Parameters
Returns
Description
random()
Parameters
Returns
Description
round()
Parameters
Returns
Description
ceil()
Parameters
Returns
Description
floor()
Parameters
Returns
Description
The RegExp object
Parameters
Returns
Description
Defining a regular expression
RegExp constructor
Literal syntax
String object
Match(pattern)
Parameters
Returns
Description
Replace(pattern)
Parameters
Returns
Description
Split(pattern)
Parameters
Returns
Description
search(pattern)
Parameters
Returns
Description
Array objects
.Pop()
Parameters
Returns
Description
.Push()
Parameters
Returns
Description
.ToString()
Parameters
Returns
Description
.ValueOf()
Parameters
Returns
Description
.Join()
Parameters
Returns
Description
.Splice()
Parameters
Returns
Description
.sort()
Parameters
Returns
Description
.reverse()
Parameters
Returns
Description
.slice()
Parameters
Returns
Description
.concat()
Parameters
Returns
Description
11. Extending JavaScript and ECMAScript 6
Compatibility and goals
JavaScript subset and extensions
JavaScript subsets
Secure subsets
ADsafe
Dojox
Caja
FBJS
Microsoft's web sandbox
JavaScript extensions
Const
Let
Destructuring assignment
For each
Iterator
Generators
Array
Generator expression
Scoped variables and constants
Shorthand functions
Multiple catch clauses
The try clause
The catch clause
The finally clause
E4X – ECMAScript for XML
ECMAScript 6 features
Arrow functions
Classes
Enhanced object literals
Property initializer shorthand
Method initializer shorthand
Template strings
Basics
Multiline strings
Destructuring assignment
Array destructuring
Object destructuring
Extended parameter handling
Default parameter
Rest parameter
Spread operator
Bindings
Iterators and the for...of operator
Generators
Better Unicode support
Modules
Module loaders
Loader methods
Collections
Sets
Maps
Map.prototype.clear()
Returns
Parameter
Description
Map.prototype.delete()
Returns
Parameter
Description
Map.prototype.entries()
Returns
Parameter
Description
Map.prototype.forEach()
Returns
Parameter
Description
Map.prototype.get()
Returns
Parameter
Description
Map.prototype.has()
Returns
Parameter
Description
Map.prototype.keys()
Returns
Parameter
Description
Map.prototype.set()
Returns
Parameter
Description
Map.prototype.values()
Returns
Parameter
Description
WeakMap
WeakMap.prototype.clear()
Returns
Parameters
Description
WeakMap.prototype.delete()
Returns
Parameters
Description
WeakMap.prototype.get()
Returns
Parameters
Description
WeakMap.prototype.has()
Returns
Parameters
Description
WeakMap.prototype.set()
Returns
Parameters
Description
Weakset
WeakSet.prototype.add(someValue)
Returns
Parameter
Description
WeakSet.prototype.delete(someValue)
Returns
Parameter
Description
WeakSet.prototype.has(someValue)
Returns
Parameter
Description
Proxies
Symbols
Subclassable built-ins
Promises
Promise.All()
Returns
Parameter
Description
Promise.prototype.catch()
Returns
Parameter
Description
Promise.resolve(value)
Returns
Parameter
Description
Using the then method
Chaining
Promise.reject(value)
Returns
Parameter
Description
Promise.race(value)
Returns
Parameter
Description
Core math library APIs
Binary and octal literals
Reflect API
Reflect.get(target, prop, [receiver])
Returns
Parameter
Description
Reflect.set(target, prop, value, [receiver])
Returns
Parameter
Description
Reflect.has(target, prop)
Returns
Parameter
Description
Reflect.apply(target, receiver, args)
Returns
Parameter
Description
Reflect.construct(target, args)
Returns
Parameter
Description
Reflect.getOwnPropertyDescriptor(target, prop)
Returns
Parameter
Description
Reflect.defineProperty(target, prop, desc)
Returns
Parameter
Description
Reflect.getPrototypeOf(target)
Returns
Parameter
Description
Reflect.setPrototypeOf(target, newProto)
Returns
Parameter
Description
Reflect.deleteProperty(target, prop)
Returns
Parameter
Description
Reflect.enumerate(target)
Returns
Parameter
Description
Reflect.preventExtensions(target)
Returns
Parameter
Description
Reflect.isExtensible(target)
Returns
Parameter
Description
Reflect.ownKeys(target)
Returns
Parameter
Description
Tail calls
Example
12. Server-side JavaScript – NodeJS
File and process management
Modules
require()
Return value
Description
module.exports
Return value
Description
The OS module
hostname()
Description
cpus()
Description
networkInterfaces()
Description
The process module
stdout
Description
stderr
Description
stdin
Description
argv
Description
Signal events
Description
process.env
Description
kill
Description
pid
Description
cwd
File functions
__filename
Description
__dirname
Description
The file module
stat
Description
open
Description
read
Description
readFile
Description
close
Description
write
Description
writeFile
Description
appendFile
Description
The path module
normalize
Description
join
Description
resolve
Description
relative
Description
dirname
basename
Description
extname
REPL
node
Description
Handling errors
Types of errors
Error design patterns
Utilities
Events
EventEmitter
Description
on
Description
once
removeListener
Description
removeAllListeners
Description
setMaxListeners
emit
Crypto
createHash
Description
The hash object
Description
pbkdf2
Return Type
Description
randomBytes
Return type
Description
pseudoRandomBytes
Return Type
Description
Buffer
Buffer creation
Return value
Description
index
Return Value
Description
toString
Return Value
Description
toJSON
Return Value
Description
isBuffer
Return Value
Description
write
Return value
Description
byteLength
Return value
Description
readUInt
Return Value
Description
writeUInt
Description
Console
log
Description
dir
Description
time and timeEnd
Description
trace
Description
npm (Node Package Manager)
init
Description
package.json
Description
install
Description
update
Description
shrinkwrap
Description
run
Description
Stream
Readable
read
Return value
Description
setEncoding
Description
resume and pause
Description
pipe
Return Value
Description
writable
write
Return value
Description
Description
The net module
createServer
Return value
Description
net.Server
listen
Description
close
Description
address
Description
getConnections
Return Value
Description
connect
Return value
Description
net.Socket
connect
Description
write
Description
end
Description
The HTTP module
createServer
Return Value
Description
http.Server
listen
Description
close
Description
Events
request
Description
close
upgrade
Description
IncomingMessage
headers
Description
method
Description
url
Description
data
Description
ServerResponse
writeHead
Description
statusCode
Description
setHeader
Description
write
Description
end
Description
http.request
Return value
Description
http.get
Return value
Description
http.clientRequest
write
Description
end
Description
response
Description
13. Bootstrap – The Stylish CSS Frontend Framework
Introduction to Bootstrap foundations
The HTML5 doctype
Mobile first
Responsive images
Containers
Getting started
The Github project
Downloading Bootstrap
Installing with bower
Installing with npm
Installing with composer
Layouts
Fixed layouts
Description
Fluid layouts
Description
Responsive layouts
Description
Supported devices
The grid system
The grid options cheat sheet
Media queries
Responsive column resets
Offsetting columns
Nesting columns
Column ordering
LESS variables and mixins
Mixins
Description
Variables
Description
Typography
Headings
Body
Lead body
Emphasis
Small text
Bold text
Italics text
Alignment
Abbreviations
Basic
Initialism
Addresses
Blockquotes
Tables
Basic
Striped rows
Bordered table
Hover rows
Condensed rows
Contextual classes
Responsive tables
Lists
Unordered lists
Ordered lists
Unstyled lists
Inline lists
Description lists
Horizontal description
Forms in Bootstrap
Vertical forms
Inline forms
Horizontal forms
Inputs for forms in Bootstrap
Textarea
Help text
Checkbox
Select list
Radio button
Static control
Input focus
Disabled input
Validation states
Control sizing
Images
Icons (Glyphicons)
Navigation elements
Tabs
Pills
Justified
Disabled links
The navigation bar
Default
Forms
Buttons
Text
Non-nav links
Fixed to top
Fixed to bottom
Static top
Inverted navbar
Panels
Basic
Heading
Footer
Group
Breadcrumbs
Labels and badges
Labels
Badges
Pagination
Default
Pager
Progress bars
Advanced Bootstrap/JavaScript plugins
Buttons
Basic
Button toolbar
Sizing
Nesting
Vertical variation
Justified link variation
Dropdowns
Single button
Split button
Tooltips
Positioning
Popovers
Basic creation
Positioning
Closing
Alerts
Tabs
Accordions
Modals
Modal size
Small
Large
Media objects
Carousels
Typehead
How to create typehead
Usage of typehead via JavaScript
Scrollspy
Activating Scrollspy via a data attribute
Activating Scrollspy via JavaScript
Affix
Activating the affix plugin via a data attribute
Activating the affix plugin via JavaScript
Customizing Bootstrap
Websites built with Bootstrap
Bootstrap resources
14. jQuery – The Popular JavaScript Library
The evolution of JQuery
Getting started
Installing JQuery
jQuery 1.x
jQuery 2.x
Using jQuery
Selectors
Element selectors
Parameters
Returns
Description
ID selectors
Parameters
Returns
Description
Class selectors
Parameters
Returns
Description
Events
Mouse events
.click()
Parameters
Returns
Description
.dblclick()
Parameters
Returns
Description
.hover()
Parameters
Returns
Description
.mousedown()
Parameters
Returns
Description
.mouseenter()
Parameters
Returns
Description
.mouseleave()
Parameters
Returns
Description
.mousemove()
Parameters
Returns
Description
.mouseout()
Parameters
Returns
Description
.toggle()
Parameters
Returns
Description
Keyboard events
.keydown()
Parameters
Returns
Description
.keypress()
Parameters
Returns
Description
.keyup()
Parameters
Returns
Description
Form events
submit()
Parameters
Returns
Description
change()
Parameters
Returns
Description
blur()
Parameters
Returns
Description
focus()
Parameters
Returns
Description
focusin()
Parameters
Returns
Description
focusout()
Parameters
Returns
Description
Document events
resize()
Parameters
Returns
Description
scroll()
Parameters
Returns
Description
Effects and animations
animate()
Parameters
Returns
Description
stop()
Parameters
Returns
Description
Hide, show, and toggle
hide()
Parameters
Returns
Description
show()
Parameters
Returns
Description
toggle()
Parameters
Returns
Description
Fade
fadeIn()
Parameters
Returns
Description
fadeOut()
Parameters
Returns
Description
fadeToggle()
Parameters
Returns
Description
fadeTo()
Parameters
Returns
Description
Sliding
slideDown()
Parameters
Returns
Description
slideUp()
Parameters
Returns
Description
slideToggle()
Parameters
Returns
Description
Callback
callbacks.add()
Parameters
Returns
Description
callbacks.fire()
Parameters
Returns
Description
callbacks.remove()
Parameters
Returns
Description
callbacks.disable()
Parameters
Returns
Description
Chaining
jQuery and the document object model
jQuery traversing
Ancestors
parent()
Parameters
Returns
Description
parents():
Parameters
Returns
Description
parentsUntil():
Parameters
Returns
Description
Descendants
children()
Parameters
Returns
Description
find()
Parameters
Returns
Description
Siblings
siblings()
Parameters
Returns
Description
next()
Parameters
Returns
Description
nextAll()
Parameters
Returns
Description
nextUntil()
Parameters
Returns
Description
prev()
Parameters
Returns
Description
prevAll()
Parameters
Returns
Description
prevUntil()
Parameters
Returns
Description
Filtering
first()
Parameters
Returns
Description
last()
Parameters
Returns
Description
eq()
Parameters
Returns
Description
filter()
Parameters
Returns
Description
Using AJAX in jQuery
The jQuery Ajax load
Parameters
Returns
Description
jQuery Ajax Get
Parameters
Returns
Description
jQuery Ajax Post
Parameters
Returns
Description
Miscellaneous jQuery functions
noConflict()
Parameters
Returns
Description
param()
Parameters
Returns
Description
index()
Parameters
Returns
Description
each()
Parameters
Returns
Description
data()
Parameters
Returns
Description
removeData()
Parameters
Returns
Description
jQuery plugins
jQuery resources
15. AngularJS – Google's In-Demand Framework
Modules (ngApp)
module
Parameters
Return value
Description
config
Parameters
Return value
Description
run
Parameters
Return value
Description
Routing (ngRoute)
ngView
Parameters
Return value
Description
$routeProvider
Parameters
Return value
Description
$route
Properties
Events
Description
$routeParams
Dependency injection
Dependency injection in Angular
injector
Parameters
Return value
Description
$injector
Methods
Description
Controllers
ngController
Parameters
Description
$scope
Data binding and templates
Event binding
Scope
Digest cycle
$digest
Description
$watch
Parameters
Return value
Description
$apply
Parameters
Return value
Description
Hierarchies
Services
Factory
Parameters
Return value
Description
Service
Parameters
Return value
Description
Provider
Parameters
Return value
Description
Value
Parameters
Return value
Description
Constant
Parameters
Return value
Description
$http
Parameters
Return value
Description
Convenience methods
GET
Description
POST
Description
jsonp
Notable services
Promises
$q
Return value
Description
Expressions
Expressions in JavaScript
Context
Directives
Normalization
Scope
@ binding
= binding
& binding
Modifying DOM
Event binding
Directive definition object
Controller vs link
Key directives
ngApp
Parameters
Description
ngModel
Parameters
Description
ngDisabled
Parameters
Description
ngChecked
Parameters
Description
ngClass
Parameters
Description
ngClassOdd and ngClassEvent
Parameters
Description
ngRepeat
Parameters
Description
ngShow and ngHide
Parameters
Description
ngSwitch
Parameters
Description
ngClick
Parameters
Description
ngDblclick
Parameters
Description
ngMousedown, ngMouseup, ngMouseover, ngMouseenter, and ngMouseleave
Parameters
Description
ngMousemove
Parameters
Description
ngKeydown, ngKeyup, and ngKeypress
Parameters
Description
ngSubmit
Parameters
Description
ngFocus and ngBlur
Parameters
Description
ngCopy, ngCut, and ngPaste
Parameters
Description
Globals
Extend
Parameters
Return value
Description
noop
Parameters
Return value
Description
isUndefined
Parameters
Return value
Description
Copy
Parameters
Return value
Description
Bind
Parameters
Return value
Description
Forms
ngModel
CSS classes
Validation
Custom validators
Testing
Unit testing with Jasmine and Karma
Jasmine
Karma
ngMock
Module
Parameters
Description
Inject
Parameters
Description
$httpBackend
Parameters
Return value
Description
Unit testing controllers
Unit testing directives
Unit testing services
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜