{"id":909,"date":"2018-11-16T21:38:04","date_gmt":"2018-11-16T13:38:04","guid":{"rendered":"https:\/\/www.develop-note.com\/blog\/?p=909"},"modified":"2022-02-17T15:41:58","modified_gmt":"2022-02-17T07:41:58","slug":"2018-angular-taiwan-conference-note","status":"publish","type":"post","link":"https:\/\/www.develop-note.com\/blog\/2018\/11\/16\/2018-angular-taiwan-conference-note\/","title":{"rendered":"2018 Angular Taiwan \u8ad6\u58c7\u7b46\u8a18"},"content":{"rendered":"<h1>Angular Taiwan<\/h1>\n<p>Angular Taiwan \u8ad6\u58c7\u4eca\u5929\u5c55\u958b\uff0c\u9019\u6b21\u7684\u8b70\u7a0b\u7b46\u8005\u6bd4\u8f03\u5728\u610f\u7684\u6709\u4e09\u500b\u90e8\u5206\uff0c\u9019\u4e09\u500b\u90e8\u5206\u90fd\u6709\u500b\u5171\u901a\u9ede\uff0c\u90a3\u5c31\u662f\u5982\u4f55\u7576\u500b\u61f6\u60f0\u7684\u5de5\u7a0b\u5e2b\uff0c\u6240\u4ee5\u6211\u5011\u4eca\u5929\u5c31\u4f86\u8ac7\u8ac7\u5982\u4f55\u900f\u904e Angular \u4f86\u505a\u4e00\u500b\u61f6\u60f0\u7684\u5de5\u7a0b\u5e2b\u5427\u3002<\/p>\n<p><!--more--><\/p>\n<h1>Angular Material &#8211; Will\u4fdd\u54e5<\/h1>\n<p>\u9019\u500b\u51fd\u5f0f\u5eab\u5c0d\u65bc\u50cf\u7b46\u8005\u9019\u7a2e\u7a0b\u5f0f\u958b\u767c\u70ba\u4e3b\u5916\u52a0\u7f8e\u8853\u5f88\u5f31\u7684\u4eba\u4f86\u8aaa\u662f\u4e00\u5927\u798f\u97f3\uff0c\u900f\u904e <code>mat-xxx<\/code> \u7684\u95dc\u9375\u5b57\u5c31\u53ef\u4ee5\u7c21\u55ae\u5be6\u4f5c\u4e00\u500b Form\u3001Navigation \u4e4b\u985e\u7684\u529f\u80fd\uff0c\u76f8\u95dc\u5143\u4ef6\u53ef\u4ee5\u770b <a href=\"https:\/\/material.angular.io\/\" title=\"Angular Material\" rel=\"nofollow noopener\" target=\"_blank\">Angular Material\u5b98\u7db2<\/a> \uff0c\u5728\u9019\u90e8\u5206\u4fdd\u54e5\u5206\u4eab\u7684\u662f\u4e00\u4e9b\u65b0\u529f\u80fd\u5982\u4e0b\u5217\u6240\u793a\uff1a<\/p>\n<h2>Virtual Scroll<\/h2>\n<p>\u7c21\u55ae\u5e7e\u500b\u95dc\u9375\u5b57\u5b8c\u6210\u5be6\u4f5c\u6372\u52d5\u52d5\u614b\u8f09\u4eba\u529f\u80fd\u3002\u8a73\u7d30\u5167\u5bb9\u53ef\u4ee5\u770b<a href=\"https:\/\/material.angular.io\/cdk\/scrolling\/overview\" title=\"Angular Material Virtual Scrolling\" rel=\"nofollow noopener\" target=\"_blank\">Virtual Scrolling\u7bc4\u4f8b<\/a>\u3002<\/p>\n<h2>Drag&amp;Drop<\/h2>\n<p>\u7c21\u55ae\u5e7e\u500b\u95dc\u9375\u5b57\u5b8c\u6210\u5be6\u4f5c\u62d6\u79fb\u529f\u80fd\u3002\u8a73\u7d30\u5167\u5bb9\u53ef\u4ee5\u770b<a href=\"https:\/\/material.angular.io\/cdk\/drag-drop\/overview\" title=\"Angular Material Drap&amp;Drop\" rel=\"nofollow noopener\" target=\"_blank\">Drag\uff06Drop\u7bc4\u4f8b<\/a>\u3002<\/p>\n<h2>select<\/h2>\n<p>\u9664\u4e86 <code>mat-select<\/code> \u4e4b\u5916\uff0c\u73fe\u5728\u4e5f\u652f\u63f4\u539f\u751f\u4e0b\u62c9\u9078\u55ae <code>select<\/code> \u3002\u8a73\u7d30\u5167\u5bb9\u53ef\u4ee5\u770b <a href=\"https:\/\/material.angular.io\/components\/select\/overview\" title=\"Angular Material Select\" rel=\"nofollow noopener\" target=\"_blank\">Select\u7bc4\u4f8b<\/a>\u3002<\/p>\n<h1>Angular Elements &#8211; Will\u4fdd\u54e5<\/h1>\n<p>\u9019\u500b\u529f\u80fd\u4e5f\u5f88\u76f4\u5f97\u63a8\u85a6\uff0c\u56e0\u70ba\u958b\u767c\u5230\u5f8c\u9762\u6703\u4e0d\u65b7\u91cd\u8907\u7684\u4f7f\u7528\u67d0\u4e9b Components \uff0c\u6240\u4ee5\u900f\u904e\u9019\u51fd\u5f0f\u5eab\u53ef\u4ee5\u628a\u90a3\u4e9b\u5e38\u7528\u7684 Components \u7368\u7acb\u51fa\u4f86\u900f\u904e\u50cf Library \u4e00\u6a23\u63d0\u4f9b\u7d66\u5176\u4ed6 App \u4f7f\u7528\uff0c\u6240\u4ee5\u8aaa\u5176\u529f\u80fd\u7c21\u55ae\u8b1b\u5c31\u662f\u5c07 Angular \u5143\u4ef6\u5c01\u88dd\u6210\u81ea\u8a02\u5143\u7d20\uff0c\u751a\u81f3\u65bc\u53ef\u4ee5\u628a AngularJs \u5c01\u88dd\u5f8c\u653e\u5230 Angular \uff0c\u76f8\u95dc\u5167\u5bb9\u53ef\u4ee5\u5148\u770b\u4e00\u4e0b <a href=\"https:\/\/angular.io\/guide\/elements\" title=\"Angular Elements\" rel=\"nofollow noopener\" target=\"_blank\">Angular Elements<\/a>\u3002<\/p>\n<h2>slot<\/h2>\n<p>\u9019\u90e8\u5206\u8aaa\u660e\u900f\u904e Angualr Elements \u53ef\u4ee5\u5c07\u5143\u4ef6\u7684\u5167\u5bb9\u7d81\u5b9a\u5230\u5ba3\u544a slot \u7684\u5143\u4ef6\u4e0a\u9762\uff0c\u7c21\u55ae\u8aaa\u660e <code>slot<\/code> \u5c31\u662f\u63d0\u4f9b\u4e00\u500b\u63d2\u69fd\u7531\u5176\u4ed6\u81ea\u8a02\u5143\u7d20\u5167\u7684\u5167\u5bb9\u5dee\u5230\u5ba3\u544a <code>slot<\/code> \u7684\u5143\u4ef6\u8eab\u4e0a\u3002\u8a73\u7d30\u5167\u5bb9\u53ef\u4ee5\u53c3\u8003 <a href=\"https:\/\/www.softwarearchitekt.at\/post\/2018\/10\/31\/content-projection-with-slots-in-angular-elements-7.aspx\" title=\"Angular Elements Slot\" rel=\"nofollow noopener\" target=\"_blank\">Slot Example<\/a>\u3002<\/p>\n<h2>\u512a\u9ede<\/h2>\n<p>\u53ef\u4ee5\u5c07 Angular \u5c31\u4e0d\u5728\u53ea\u662f\u53ef\u4ee5\u5728 Angular \u7684\u5c08\u6848\u7528\uff0c\u800c\u4e14\u53ef\u4ee5\u653e\u5230 vue\u3001react \u4f7f\u7528\uff0c\u6216\u8005\u662f\u5c07 AngularJs \u5c01\u88dd\u653e\u5230 Angular \u5167\u3002<\/p>\n<h2>\u7f3a\u9ede<\/h2>\n<p>\u76ee\u524d\u5c1a\u672a\u5b8c\u5584\uff0c\u6709\u4e9b\u700f\u89bd\u5668 (EDGE) \u5c1a\u672a\u652f\u63f4\uff0c\u9084\u6709\u76ee\u524d\u6253\u5305 Bundle \u6709\u9ede\u5927\u3002<\/p>\n<h1>Schematics &#8211; Kevin Yang<\/h1>\n<p>Schematics \u662f\u4ec0\u9ebc\u6771\u897f\u5462\uff0c\u5982\u4f55\u900f\u904e\u5b83\u4f86\u7576\u500b\u61f6\u60f0\u5de5\u7a0b\u5e2b\u5462\uff0c\u7b46\u8005\u8209\u500b\u4f8b\u5b50\u597d\u4e86\uff0c\u4e0a\u9762\u8b1b\u7684 Angular Elements \u662f\u53ef\u4ee5\u900f\u904e\u5b83\u5efa\u7acb\u597d\u81ea\u8a02\u5143\u4ef6\u63d0\u4f9b\u7d66\u5176\u4ed6\u5c08\u6848\u4f7f\u7528\uff0c\u5c0d\u65bc Schematics \u4f86\u8aaa\u5b83\u5c31\u662f\u7a0b\u5f0f\u78bc\u7684 Angular Elements \uff0c\u53ef\u4ee5\u900f\u904e Schematics \u4f86\u5e6b\u52a9\u6211\u5011\u7522\u751f\u7a0b\u5f0f\u78bc\u7bc4\u672c\u3002<\/p>\n<h2>\u5982\u4f55\u4f7f\u7528<\/h2>\n<p>\u9019\u529f\u80fd\u5927\u5bb6\u53ef\u80fd\u4e0d\u592a\u6703\u5beb\uff0c\u4f46\u662f\u5927\u5bb6\u53ef\u80fd\u5e38\u5e38\u5728\u7528\u537b\u4e0d\u77e5\u9053\uff0c\u5176\u5be6 Angular CLI \u7684 <code>ng add<\/code> \u8ddf <code>ng update<\/code> \u5c31\u662f Schematics \u7684\u4f7f\u7528\u7684\u4f8b\u5b50\u3002<\/p>\n<h2>\u5982\u4f55\u958b\u767c<\/h2>\n<p>\u9019\u4e0d\u5916\u4e4e\u5c31\u662f\u7a0b\u5f0f\u78bc\u7684 CRUD \u4e86\uff0c\u4ed6\u6709\u4e09\u500b\u91cd\u9ede\u5143\u4ef6\uff0c\u53c3\u8003\u81f3 Kevin Yang \u95dc\u65bc <a href=\"https:\/\/blog.kevinyang.net\/2018\/08\/16\/angular-schematics-filesystem\/\" title=\"Kevin Yang\u95dc\u65bcSchematics\u7684\u8aaa\u660e\u6587\u4ef6\" rel=\"nofollow noopener\" target=\"_blank\">Schematics\u7684\u8aaa\u660e\u6587\u4ef6<\/a><\/p>\n<ul>\n<li>Tree\uff1a \u662f\u6a94\u6848\u7cfb\u7d71\u7684\u7d50\u69cb\u63cf\u8ff0\uff0c\u5305\u542b\u6a94\u6848\u7684\u72c0\u614b\u8207\u6539\u8b8a\u6a94\u6848\u7684\u898f\u5247 (Rule)<\/li>\n<li>Source\uff1a \u662f\u4e00\u500b\u5efa\u7acb\u7a7a\u7684\u65b0 Tree\uff0c\u5e38\u898b\u7684\u65b9\u6cd5\u6709 Url(path)<\/li>\n<li>Rule\uff1a \u662f\u63cf\u8ff0\u8981\u5982\u4f55\u6539\u8b8a Tree\uff0c\u6240\u4ee5 Rule \u6703\u56de\u50b3\u4e00\u500b\u5305\u542b\u6539\u8b8a\u898f\u5247\u7684 Tree<\/li>\n<\/ul>\n<h2>\u5982\u4f55\u589e\u9032schematics\u7684\u6280\u80fd<\/h2>\n<p>\u525b\u525b\u6709\u8aaa\u904e Angular CLI \u7684 <code>ng add<\/code> \u8ddf <code>ng update<\/code> \u5c31\u662f Schematics \u7684\u4f7f\u7528\u7684\u4f8b\u5b50\uff0c\u6240\u4ee5\u5f9e\u54ea\u88e1\u5b78\u6700\u5feb\uff0c\u90a3\u5c31\u662f Angular CLI \u7684 Github<br \/>\n<a href=\"https:\/\/github.com\/angular\/angular-cli\/tree\/master\/packages\/schematics\" title=\"Angular cli Schematics\" rel=\"nofollow noopener\" target=\"_blank\">angular-cli\/packages\/schematics\/<\/a>\uff0c\u5e36\u4e4b\u5f8c\u7b46\u8005\u5be6\u969b\u64cd\u4f5c\u5f8c\u518d\u5206\u4eab\u7d66\u5927\u5bb6\u5982\u4f55\u64cd\u4f5c\u4e86\u3002<\/p>\n<h1>Angular CDK &#8211; Mike Huang<\/h1>\n<p>\u9996\u5148\u5148\u8aaa\u660e\u8207 Angualr Material \u7684\u5dee\u5225\u662f Angular CDK \u8457\u91cd\u5728\u65bc\u5be6\u73fe\u4e92\u52d5\u7684\u529f\u80fd\uff0c\u800c Angualr Material \u8457\u91cd\u5728\u65bc\u6a23\u5f0f\u7684\u986f\u793a\u3002\u9019\u90e8\u5206\u8b1b\u8005\u8aaa\u660e\u5982\u4f55\u4f7f\u7528 Angualr CDK \u5be6\u4f5c\u4e00\u500b Dialog<\/p>\n<h2>\u5be6\u4f5c\u4e00\u500bDialog<\/h2>\n<p>\u4f7f\u7528 Overlay \u4e0a\u9762\u653e\u4e00\u500b Dialog \u7684 Component \u5373\u53ef\uff0c\u800c\u5176\u4e3b\u8981\u5f97\u6b65\u9a5f\u53ef\u5206\u6210\u4ee5\u4e0b\u500b\u90e8\u5206\uff0c\u8a73\u7d30\u5167\u5bb9\u53ef\u4ee5\u770b <a href=\"https:\/\/material.angular.io\/cdk\/overlay\/overview\" title=\"Angular Material Overlay\" rel=\"nofollow noopener\" target=\"_blank\">Overlay\u8aaa\u660e<\/a>\uff1a<\/p>\n<ol>\n<li>Create<\/li>\n<li>Config<\/li>\n<li>Attach-&gt;ComponetnPortal-&gt;\u52d5\u614b\u7522\u751fComponent\u8981\u653e\u5230AppModule\u7684entryComponent\u5167<\/li>\n<li>Detach-&gt;PortalInject-&gt;OverlayRef.detach<\/li>\n<\/ol>\n<h2>\u642d\u914dDrag&amp;Drop<\/h2>\n<p>\u9019\u88e1\u88e1\u8981\u8aaa\u660e\u95dc\u65bc Drag&amp;Drop\u7684Dialog \u95dc\u9375\u7684\u5e7e\u500b\u5b57<\/p>\n<ol>\n<li>cdkDrag: Drap&amp;Drop\u7684\u95dc\u9375\u5b57<\/li>\n<li>cdkDragRootElement-&gt;\u8981\u4e00\u8d77\u79fb\u52d5OverlayRef<\/li>\n<li>cdkDragHandle-&gt;\u900f\u904e\u9019\u5143\u4ef6\u53ef\u4ee5\u8a2d\u5b9a\u53ea\u6709\u5728\u9ede\u64ca\u5230\u9019\u90e8\u5206\u624d\u53ef\u4ee5\u62d6\u62c9\u3002<\/li>\n<\/ol>\n<h1>\u7d50\u8a9e<\/h1>\n<p>\u5728\u8ad6\u58c7\u6700\u5f8c\u8b93\u7b46\u8005\u89ba\u5f97\u6536\u7a6b\u826f\u591a\u7684\u4e00\u9ede\u662f\u4fdd\u54e5\u6240\u5206\u4eab\u7684\u5982\u4f55\u589e\u9032 Angular \u80fd\u529b\u7684\u65b9\u6cd5\uff0c\u90a3\u5c31\u662f\u900f\u904e\u5957\u4ef6\u7684\u539f\u59cb\u78bc\u4f86\u5b78\u7fd2 Angular \uff0c\u6c92\u60f3\u5230\u5b78 Angular \u4e0d\u9700\u8981\u82b1\u5927\u9322\u82b1\u6642\u9593\u53bb\u5b78\u7fd2\uff0c\u900f\u904e\u8eab\u908a\u7684\u5957\u4ef6\u5982 Angular Material\u3001Angular CLI\u3001ng-zorro \u5c31\u53ef\u4ee5\u5b78\u5230\u5982\u4f55\u64b0\u5beb Angular \u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Angular Taiwan Angular Taiwan \u8ad6\u58c7\u4eca\u5929\u5c55\u958b\uff0c\u9019\u6b21\u7684\u8b70\u7a0b\u7b46\u8005\u6bd4\u8f03\u5728\u610f\u7684\u6709\u4e09\u500b\u90e8\u5206\uff0c &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.develop-note.com\/blog\/2018\/11\/16\/2018-angular-taiwan-conference-note\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u30082018 Angular Taiwan \u8ad6\u58c7\u7b46\u8a18\u3009<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[2],"tags":[64,54,58,62],"class_list":["post-909","post","type-post","status-publish","format-standard","hentry","category-develop","tag-angualr-cdk","tag-angular","tag-angular-material","tag-schematics"],"_links":{"self":[{"href":"https:\/\/www.develop-note.com\/blog\/wp-json\/wp\/v2\/posts\/909","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.develop-note.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.develop-note.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.develop-note.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.develop-note.com\/blog\/wp-json\/wp\/v2\/comments?post=909"}],"version-history":[{"count":43,"href":"https:\/\/www.develop-note.com\/blog\/wp-json\/wp\/v2\/posts\/909\/revisions"}],"predecessor-version":[{"id":3028,"href":"https:\/\/www.develop-note.com\/blog\/wp-json\/wp\/v2\/posts\/909\/revisions\/3028"}],"wp:attachment":[{"href":"https:\/\/www.develop-note.com\/blog\/wp-json\/wp\/v2\/media?parent=909"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.develop-note.com\/blog\/wp-json\/wp\/v2\/categories?post=909"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.develop-note.com\/blog\/wp-json\/wp\/v2\/tags?post=909"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}