<!DOCTYPE html><html><head><title>NavDrawer Add Items</title><metacharset="UTF-8" /><linkrel="shortcut icon"href="https://static.infragistics.com/xplatform/images/browsers/wc.png" ><linkrel="stylesheet"href="https://fonts.googleapis.com/icon?family=Material+Icons" /><linkrel="stylesheet"href="https://fonts.googleapis.com/css?family=Kanit&display=swap" /><linkrel="stylesheet"href="https://fonts.googleapis.com/css?family=Titillium Web" /><linkrel="stylesheet"href="https://static.infragistics.com/xplatform/css/samples/shared.v8.css"type="text/css" /></head><body><divid="root"><divid="button-wrapper"><igc-icon-buttonname="menu"variant="flat"></igc-icon-button></div><igc-nav-draweropen="true"><igc-nav-drawer-header-item>
Sample Drawer
</igc-nav-drawer-header-item><igc-nav-drawer-item><igc-iconslot="icon"name="home"></igc-icon><spanslot="content">Home</span></igc-nav-drawer-item><igc-nav-drawer-item><igc-iconslot="icon"name="search"></igc-icon><spanslot="content">Search</span></igc-nav-drawer-item></igc-nav-drawer></div><!-- This script is needed only for parcel and it will be excluded for webpack -->
<% if (false) { %><scriptsrc="src/index.ts"></script><% } %>
</body></html>html
<!DOCTYPE html><html><head><title>NavDrawer Add Items</title><metacharset="UTF-8" /><linkrel="shortcut icon"href="https://static.infragistics.com/xplatform/images/browsers/wc.png" ><linkrel="stylesheet"href="https://fonts.googleapis.com/icon?family=Material+Icons" /><linkrel="stylesheet"href="https://fonts.googleapis.com/css?family=Kanit&display=swap" /><linkrel="stylesheet"href="https://fonts.googleapis.com/css?family=Titillium Web" /><linkrel="stylesheet"href="https://static.infragistics.com/xplatform/css/samples/shared.v8.css"type="text/css" /></head><body><divid="root"><divid="button-wrapper"><igc-icon-buttonname="menu"variant="flat"></igc-icon-button></div><igc-nav-draweropen="true"><igc-nav-drawer-header-item>
Sample Drawer
</igc-nav-drawer-header-item><igc-nav-drawer-item><igc-iconslot="icon"name="home"></igc-icon><spanslot="content">Home</span></igc-nav-drawer-item><igc-nav-drawer-item><igc-iconslot="icon"name="search"></igc-icon><spanslot="content">Search</span></igc-nav-drawer-item></igc-nav-drawer></div><!-- This script is needed only for parcel and it will be excluded for webpack -->
<% if (false) { %><scriptsrc="src/index.ts"></script><% } %>
</body></html>html
<!DOCTYPE html><html><head><title>NavDrawer Add Positions and Navbar</title><metacharset="UTF-8" /><linkrel="shortcut icon"href="https://static.infragistics.com/xplatform/images/browsers/wc.png" ><linkrel="stylesheet"href="https://fonts.googleapis.com/icon?family=Material+Icons" /><linkrel="stylesheet"href="https://fonts.googleapis.com/css?family=Kanit&display=swap" /><linkrel="stylesheet"href="https://fonts.googleapis.com/css?family=Titillium Web" /><linkrel="stylesheet"href="https://static.infragistics.com/xplatform/css/samples/shared.v8.css"type="text/css" /></head><body><divid="root"><divid="nav-drawer-container"class="container sample center"><igc-nav-drawerid="navDrawer"style="position: relative"><igc-nav-drawer-header-item>
Sample Drawer
</igc-nav-drawer-header-item><igc-nav-drawer-itemactive><igc-iconslot="icon"name="home"></igc-icon><spanslot="content">Home</span></igc-nav-drawer-item><igc-nav-drawer-item><igc-iconslot="icon"name="search"></igc-icon><spanslot="content">Search</span></igc-nav-drawer-item></igc-nav-drawer><divid="content"style="width: 100%; height: inherit;"><igc-radio-groupid="radio-group"alignment="horizontal"style="margin-bottom: 10px;"><igc-radioname="position"value="start"label-position="after"checked>Start</igc-radio><igc-radioname="position"value="end"label-position="after">End</igc-radio><igc-radioname="position"value="top"label-position="after">Top</igc-radio><igc-radioname="position"value="bottom"label-position="after">Bottom</igc-radio></igc-radio-group><igc-navbar><igc-iconslot="start"name="menu"id="menu"></igc-icon><h2id="navbar-header">Home</h2></igc-navbar></div></div></div><!-- This script is needed only for parcel and it will be excluded for webpack -->
<% if (false) { %><scriptsrc="src/index.ts"></script><% } %>
</body></html>html
/* shared styles are loaded from: *//* https://static.infragistics.com/xplatform/css/samples */css
ミニ バリアント
ミニ バリアントを使用する場合、Navigation Drawer を閉じる代わりに幅を変更します。アイコンだけを残して、いつでも利用できるクイック ナビゲーションを維持するために使用されます。これを実現するには、ドロワーの mini スロットを設定するだけです。
<!DOCTYPE html><html><head><title>NavDrawer Add Mini</title><metacharset="UTF-8" /><linkrel="shortcut icon"href="https://static.infragistics.com/xplatform/images/browsers/wc.png" ><linkrel="stylesheet"href="https://fonts.googleapis.com/icon?family=Material+Icons" /><linkrel="stylesheet"href="https://fonts.googleapis.com/css?family=Kanit&display=swap" /><linkrel="stylesheet"href="https://fonts.googleapis.com/css?family=Titillium Web" /><linkrel="stylesheet"href="https://static.infragistics.com/xplatform/css/samples/shared.v8.css"type="text/css" /></head><body><divid="root"><divid="nav-drawer-container"style="display: flex; height: inherit;"><igc-nav-drawerid="navDrawer"><igc-nav-drawer-item><igc-iconslot="icon"name="home"></igc-icon><spanslot="content">Home</span></igc-nav-drawer-item><igc-nav-drawer-item><igc-iconslot="icon"name="search"></igc-icon><spanslot="content">Search</span></igc-nav-drawer-item><divslot="mini"><igc-nav-drawer-item><igc-iconslot="icon"name="home"></igc-icon></igc-nav-drawer-item><igc-nav-drawer-item><igc-iconslot="icon"name="search"></igc-icon></igc-nav-drawer-item></div></igc-nav-drawer><divid="content"style="width: 100%"><igc-buttonid="toggleBtn"style="margin-left: 70px;">Toggle</igc-button></div></div></div><!-- This script is needed only for parcel and it will be excluded for webpack -->
<% if (false) { %><scriptsrc="src/index.ts"></script><% } %>
</body></html>html
/* shared styles are loaded from: *//* https://static.infragistics.com/xplatform/css/samples */css
<!DOCTYPE html><html><head><title>NavDrawer Add Positions and Navbar</title><metacharset="UTF-8" /><linkrel="shortcut icon"href="https://static.infragistics.com/xplatform/images/browsers/wc.png" ><linkrel="stylesheet"href="https://fonts.googleapis.com/icon?family=Material+Icons" /><linkrel="stylesheet"href="https://fonts.googleapis.com/css?family=Kanit&display=swap" /><linkrel="stylesheet"href="https://fonts.googleapis.com/css?family=Titillium Web" /><linkrel="stylesheet"href="https://static.infragistics.com/xplatform/css/samples/shared.v8.css"type="text/css" /></head><body><divid="root"><divid="button-wrapper"><igc-icon-buttonname="menu"variant="flat"></igc-icon-button></div><igc-nav-drawerid="navDrawer"open="true"style="position: relative"><igc-nav-drawer-header-item>
Sample Drawer
</igc-nav-drawer-header-item><igc-nav-drawer-item><igc-iconslot="icon"name="home"></igc-icon><spanslot="content">Home</span></igc-nav-drawer-item><igc-nav-drawer-item><igc-iconslot="icon"name="search"></igc-icon><spanslot="content">Search</span></igc-nav-drawer-item></igc-nav-drawer></div><!-- This script is needed only for parcel and it will be excluded for webpack -->
<% if (false) { %><scriptsrc="src/index.ts"></script><% } %>
</body></html>html