{"id":3870,"date":"2014-12-02T11:45:53","date_gmt":"2014-12-02T02:45:53","guid":{"rendered":"https:\/\/gunmagisgeek.com\/wordpress\/?p=3870"},"modified":"2019-01-11T14:52:25","modified_gmt":"2019-01-11T05:52:25","slug":"post-3870","status":"publish","type":"post","link":"https:\/\/gunmagisgeek.com\/blog\/webix\/3870","title":{"rendered":"[Webix]\u30ec\u30a4\u30a2\u30a6\u30c8\u30b7\u30b9\u30c6\u30e0"},"content":{"rendered":"<p><a href=\"https:\/\/qiita.com\/advent-calendar\/2014\/webix\">Webix Advent Calendar 2014<\/a> \uff12\u65e5\u76ee\u306e\u8a18\u4e8b\u3067\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2014\/12\/webixlayoute141202.jpg\" alt=\"Webix Layoute\" width=\"590\" height=\"479\" class=\"aligncenter size-full wp-image-3871\" srcset=\"https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2014\/12\/webixlayoute141202.jpg 590w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2014\/12\/webixlayoute141202-185x150.jpg 185w\" sizes=\"auto, (max-width: 590px) 100vw, 590px\" \/><\/p>\n<p>Webix\u306b\u306f\u3001\u7c21\u5358\u306b\u4f7f\u3048\u3066\u69d8\u3005\u306a\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u81ea\u5728\u306b\u914d\u7f6e\u3067\u304d\u308b\u512a\u308c\u305f\u30ec\u30a4\u30a2\u30a6\u30c8\u30b7\u30b9\u30c6\u30e0\u304c\u3042\u308a\u307e\u3059\u3002\u672c\u65e5\u306fWebix\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u30b7\u30b9\u30c6\u30e0\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/docs.webix.com\/desktop__layout.html\">Layout and Resizer Webix Docs<\/a><\/p>\n<h2>\u30ec\u30a4\u30a2\u30a6\u30c8<\/h2>\n<p>Webix\u306b\u304a\u3051\u308b\u30ec\u30a4\u30a2\u30a6\u30c8\u3068\u306f\u3001\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3068\u306e\u914d\u7f6e\u3092\u6c7a\u5b9a\u3059\u308b\u3060\u3051\u306e\u6982\u5ff5\u7684\u306a\u8981\u7d20\u3068\u306a\u308a\u307e\u3059\u3002JSON\u5f62\u5f0f\u3067rows\u3084cols\u30ad\u30fc\u306b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u542b\u3093\u3060\u914d\u5217\u3092\u6e21\u3059\u3053\u3068\u3067\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<h3>Horizontal layout<\/h3>\n<p>rows\u306f\u3001\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u5782\u76f4\u306b\u914d\u7f6e\u3059\u308b\u969b\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:js decode:true \" >webix.ui({\n    id:\"layout\", \n    rows:[\n        { template:\"row 1\" }, \n        { template:\"row 2\" },\n        { template:\"row 3\" }\n    ]\n});<\/pre>\n<p><iframe loading=\"lazy\" width=\"100%\" height=\"200\" scrolling=\"no\" src=\"https:\/\/shimz.me\/example\/webix\/layout\/horizontal\/index.html\"><\/iframe><\/p>\n<p><a href=\"https:\/\/shimz.me\/example\/webix\/layout\/horizontal\/index.html\">example<\/a><\/p>\n<h3>Vertical layout<\/h3>\n<p>cols\u306f\u3001\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u6c34\u5e73\u306b\u914d\u7f6e\u3059\u308b\u969b\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:js decode:true \" >webix.ui({\n    id:\"layout\",\n    cols:[\n        { template:\"col 1\" }, \n        { template:\"col 2\" },\n        { template:\"col 3\" }\n    ]\n});<\/pre>\n<p><iframe loading=\"lazy\" width=\"100%\" height=\"200\" scrolling=\"no\" src=\"https:\/\/shimz.me\/example\/webix\/layout\/vertical\/index.html\"><\/iframe><\/p>\n<p><a href=\"https:\/\/shimz.me\/example\/webix\/layout\/vertical\/index.html\">example<\/a><\/p>\n<h3>Complex layout<\/h3>\n<p>\u4efb\u610f\u306e\u884c(rows)\u3092\u5217(cols)\u3067\u5206\u5272\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u30cd\u30b9\u30c8\u3059\u308b\u3053\u3068\u3067\u8907\u96d1\u306a\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"lang:js decode:true \" >webix.ui({\n    id:\"layout\", \n    rows:[\n        {template:\"row 1\"}, \n        {template:\"row 2\"},\n        { cols:[\n            { template:\"col 1\" },\n            { template:\"col 2\" },\n            { template:\"col 3\" }\n        ]}\n    ]\n});<\/pre>\n<p><iframe loading=\"lazy\" width=\"100%\" height=\"200\" scrolling=\"no\" src=\"https:\/\/shimz.me\/example\/webix\/layout\/complex\/index.html\"><\/iframe><\/p>\n<p><a href=\"https:\/\/shimz.me\/example\/webix\/layout\/complex\/index.html\">example<\/a><\/p>\n<h2>\u30ea\u30b5\u30a4\u30ba\u30d3\u30e5\u30fc<\/h2>\n<p>\u30ea\u30b5\u30a4\u30ba\u30d3\u30e5\u30fc\u306f\u3001\u30ec\u30a4\u30a2\u30a6\u30c8\u306b\u3088\u3063\u3066\u914d\u7f6e\u3055\u308c\u305f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u9593\u3067\u30b5\u30a4\u30ba\u306e\u5909\u66f4\u3092\u53ef\u80fd\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:js decode:true \" >webix.ui({\n    rows:[\n        {template:\"header\", height:35 },\n        {template:\"row 1\"},\n        {view:\"resizer\"},   \/\/row1\u3068row2\u306e\u5883\u754c\u3092\u30ea\u30b5\u30a4\u30ba\u53ef\u80fd\u306b\n        {template:\"row 2\"},\n        {view:\"resizer\"},   \/\/row2\u3068row3\u306e\u5883\u754c\u3092\u30ea\u30b5\u30a4\u30ba\u53ef\u80fd\u306b\n        {\n            id:\"row3\",\n            cols:[\n            {\n                template:\"col 1\",\n                minWidth:150        \/\/col1\u306e\u6700\u5c11\u30b5\u30a4\u30ba(\u5e45)\n            },\n            {\n                view:\"resizer\", \/\/col1\u3068col2\u306e\u5883\u754c\u3092\u30ea\u30b5\u30a4\u30ba\u53ef\u80fd\u306b\n            },\n            {   \n                template:\"col 2\"\n            },\n            {\n                template:\"col 3\"\n            }\n        ]\n        }\n    ]\n});<\/pre>\n<p><iframe loading=\"lazy\" width=\"100%\" height=\"400\" scrolling=\"no\" src=\"https:\/\/shimz.me\/example\/webix\/layout01\/index.html\"><\/iframe><\/p>\n<p><a href=\"https:\/\/shimz.me\/example\/webix\/layout01\/index.html\">example<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Webix Advent Calendar 201&hellip;<\/p>\n","protected":false},"author":1,"featured_media":3871,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[58],"tags":[],"class_list":["post-3870","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-webix","has-post-thumbnail-archive"],"_links":{"self":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/posts\/3870","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/comments?post=3870"}],"version-history":[{"count":0,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/posts\/3870\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/media\/3871"}],"wp:attachment":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/media?parent=3870"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/categories?post=3870"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/tags?post=3870"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}