# Page 3
# Title 1
- Type:
string - Default:
/
# Title 2
- Type:
string - Default:
/
# Vue Components
<demo-component>.Hello this is <demo-component>
<OtherComponent>.
Counter: 0
This is another component<Foo-Bar>.Hello this is <Foo-Bar>
# Code
var numbers = [1, 5, 10, 15];
var doubles = numbers.map(function(x) {
return x * 2;
});
// doubles is now [2, 10, 20, 30]
// numbers is still [1, 5, 10, 15]
var numbers = [1, 4, 9];
var roots = numbers.map(function(num) {
return Math.sqrt(num);
});
// roots is now [1, 2, 3]
// numbers is still [1, 4, 9]
1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
# Highlight
var numbers = [1, 5, 10, 15];
var doubles = numbers.map(function(x) {
return x * 2;
});
// doubles is now [2, 10, 20, 30]
// numbers is still [1, 5, 10, 15]
var numbers = [1, 4, 9];
var roots = numbers.map(function(num) {
return Math.sqrt(num);
});
// roots is now [1, 2, 3]
// numbers is still [1, 4, 9]
1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
# Custom containers
TIP
This is a tip
WARNING
This is a warning
WARNING
This is a dangerous warning
DETAILS
This is a details block, which does not work in IE / Edge