Update bootstrap and es6
This commit is contained in:
parent
b671d5403b
commit
b6dac10774
11
bootstrap.md
11
bootstrap.md
|
@ -83,3 +83,14 @@ Max:
|
|||
.modal-body
|
||||
.spinner-panel.-lg
|
||||
%i
|
||||
|
||||
### Tooltip
|
||||
|
||||
data-toggle='tooltip'
|
||||
title='tooltip'
|
||||
data-placement='left|top|bottom|right'
|
||||
|
||||
$(function () {
|
||||
$('[data-toogle~="tooltip"]').tooltip();
|
||||
});
|
||||
|
||||
|
|
8
es6.md
8
es6.md
|
@ -101,12 +101,18 @@ export var pi = 3.14159;
|
|||
var [first, last] = ["Nikola", "Tesla"];
|
||||
let {title, author} = { title: "The Silkworm", author: "R. Galbraith" };
|
||||
|
||||
|
||||
// Available in loops too
|
||||
for (let {title, artist} in songs) {
|
||||
// ...
|
||||
}
|
||||
|
||||
// Functions
|
||||
function greet({ name, greeting }) {
|
||||
// ...
|
||||
}
|
||||
|
||||
greet({ name: "Larry", greeting: "Ahoy" });
|
||||
|
||||
/*
|
||||
* Spread
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue