Add flexbox test pages

This commit is contained in:
vchimev
2016-11-11 16:06:29 +02:00
parent 707070d87f
commit afd2779626
6 changed files with 121 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
export const flexFlow = applyCss();
function applyCss() {
return function(args) {
// args.object.page.getViewById("container")[what] = args.object.text;
let boxCss = " #container { " + args.object.tag + " }" ;
// console.log(boxCss);
args.object.page.addCss(boxCss);
console.log(args.object.page.css);
}
}
export function applyStyles(args) {
// var css = "#test-element { " + args.object.tag + " }";
console.log(args.object.tag);
args.object.page.addCss(args.object.tag);
}
export function resetTap(args) {
args.object.page.css = "";
}