mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +08:00
opt onappend
This commit is contained in:
parent
bdf628eaf1
commit
1e93dc2fbd
@ -1,10 +1,18 @@
|
|||||||
Volcanos(chat.ONIMPORT, {_init: function(can, msg) {
|
Volcanos(chat.ONIMPORT, {_init: function(can, msg) {
|
||||||
can.onappend.layout(can, can._output, "flex", [
|
can.onappend.layout(can, can._output, html.FLEX, [
|
||||||
{view: ["hi", html.DIV, "he"]},
|
{view: ["hi", html.DIV, "project"]}, [
|
||||||
{view: ["he", html.DIV, "he"]},
|
[
|
||||||
[
|
{view: ["hi", html.DIV, "content"]},
|
||||||
{view: ["hi", html.DIV, "he"]},
|
{view: ["he", html.DIV, "profile"]},
|
||||||
{view: ["he", html.DIV, "he"]},
|
],
|
||||||
|
{view: ["he", html.DIV, "display"]},
|
||||||
],
|
],
|
||||||
]).layout(can.ConfWidth(), can.ConfHeight())
|
]).layout(can.ConfWidth(), can.ConfHeight())
|
||||||
|
can.onmotion.clear(can, can._output)
|
||||||
|
var list = [
|
||||||
|
{name: "h1", list: [{view: ["h1", html.DIV, "h1111"]}]},
|
||||||
|
{name: "h2", list: [{view: ["h1", html.DIV, "h222"]}]},
|
||||||
|
{name: "h3", list: [{view: ["h1", html.DIV, "h3333"]}]},
|
||||||
|
]
|
||||||
|
can.onappend.layout(can, can._output, "tabs-bottom", list)
|
||||||
}})
|
}})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user