carbon-components-angular
Version:
Next generation components
390 lines (338 loc) • 18 kB
HTML
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>carbon-components-angular documentation</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="../images/favicon.ico">
<link rel="stylesheet" href="../styles/style.css">
<link rel="stylesheet" href="../styles/dark.css">
</head>
<body>
<div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
<a href="../" class="navbar-brand">carbon-components-angular documentation</a>
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
</div>
<div class="xs-menu menu" id="mobile-menu">
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
</div>
<div class="container-fluid main">
<div class="row main">
<div class="hidden-xs menu">
<compodoc-menu mode="normal"></compodoc-menu>
</div>
<!-- START CONTENT -->
<div class="content module">
<div class="content-data">
<ol class="breadcrumb">
<li class="breadcrumb-item">Modules</li>
<li class="breadcrumb-item" >FileUploaderModule</li>
</ol>
<div class="text-center module-graph-container">
<div id="module-graph-svg">
<!-- Generated by graphviz version 2.47.0 (20210316.0004)
-->
<!-- Title: dependencies Pages: 1 -->
<svg width="698pt" height="396pt"
viewBox="0.00 0.00 698.00 395.59" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 391.59)">
<title>dependencies</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-391.59 694,-391.59 694,4 -4,4"/>
<text text-anchor="start" x="324.01" y="-42.4" font-family="Times-12" font-weight="bold" font-size="14.00">Legend</text>
<polygon fill="#ffffb3" stroke="transparent" points="111,-10 111,-30 131,-30 131,-10 111,-10"/>
<text text-anchor="start" x="134.63" y="-15.4" font-family="Times-12" font-size="14.00">  Declarations</text>
<polygon fill="#8dd3c7" stroke="transparent" points="224,-10 224,-30 244,-30 244,-10 224,-10"/>
<text text-anchor="start" x="247.73" y="-15.4" font-family="Times-12" font-size="14.00">  Module</text>
<polygon fill="#80b1d3" stroke="transparent" points="310,-10 310,-30 330,-30 330,-10 310,-10"/>
<text text-anchor="start" x="333.78" y="-15.4" font-family="Times-12" font-size="14.00">  Bootstrap</text>
<polygon fill="#fdb462" stroke="transparent" points="407,-10 407,-30 427,-30 427,-10 407,-10"/>
<text text-anchor="start" x="430.67" y="-15.4" font-family="Times-12" font-size="14.00">  Providers</text>
<polygon fill="#fb8072" stroke="transparent" points="503,-10 503,-30 523,-30 523,-10 503,-10"/>
<text text-anchor="start" x="526.73" y="-15.4" font-family="Times-12" font-size="14.00">  Exports</text>
<g id="clust1" class="cluster">
<title>cluster_FileUploaderModule</title>
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-379.59 682,-379.59 682,-70 8,-70"/>
</g>
<g id="clust2" class="cluster">
<title>cluster_FileUploaderModule_declarations</title>
<polygon fill="none" stroke="black" points="99,-189.59 99,-241.59 326,-241.59 326,-189.59 99,-189.59"/>
</g>
<g id="clust6" class="cluster">
<title>cluster_FileUploaderModule_exports</title>
<polygon fill="none" stroke="black" points="281,-319.59 281,-371.59 515,-371.59 515,-319.59 281,-319.59"/>
</g>
<g id="clust5" class="cluster">
<title>cluster_FileUploaderModule_imports</title>
<polygon fill="none" stroke="black" points="334,-189.59 334,-241.59 674,-241.59 674,-189.59 334,-189.59"/>
</g>
<g id="clust4" class="cluster">
<title>cluster_FileUploaderModule_FileUploader_providers</title>
<polygon fill="none" stroke="black" points="16,-78 16,-176.59 674,-176.59 674,-78 16,-78"/>
</g>
<!-- FileComponent -->
<g id="node1" class="node">
<title>FileComponent</title>
<polygon fill="#ffffb3" stroke="black" points="317.61,-233.59 214.39,-233.59 214.39,-197.59 317.61,-197.59 317.61,-233.59"/>
<text text-anchor="middle" x="266" y="-211.39" font-family="Times,serif" font-size="14.00">FileComponent</text>
</g>
<!-- FileUploaderModule -->
<g id="node3" class="node">
<title>FileUploaderModule</title>
<polygon fill="#8dd3c7" stroke="black" points="461.92,-298.59 458.92,-302.59 437.92,-302.59 434.92,-298.59 328.08,-298.59 328.08,-262.59 461.92,-262.59 461.92,-298.59"/>
<text text-anchor="middle" x="395" y="-276.39" font-family="Times,serif" font-size="14.00">FileUploaderModule</text>
</g>
<!-- FileComponent->FileUploaderModule -->
<g id="edge1" class="edge">
<title>FileComponent->FileUploaderModule</title>
<path fill="none" stroke="black" d="M317.66,-215.59C327.66,-215.59 335.09,-215.59 335.09,-215.59 335.09,-215.59 335.09,-252.48 335.09,-252.48"/>
<polygon fill="black" stroke="black" points="331.59,-252.48 335.09,-262.48 338.59,-252.48 331.59,-252.48"/>
</g>
<!-- FileUploader -->
<g id="node2" class="node">
<title>FileUploader</title>
<polygon fill="#ffffb3" stroke="black" points="196.87,-233.59 107.13,-233.59 107.13,-197.59 196.87,-197.59 196.87,-233.59"/>
<text text-anchor="middle" x="152" y="-211.39" font-family="Times,serif" font-size="14.00">FileUploader</text>
</g>
<!-- FileUploader->FileUploaderModule -->
<g id="edge2" class="edge">
<title>FileUploader->FileUploaderModule</title>
<path fill="none" stroke="black" d="M152,-233.7C152,-252.93 152,-280.59 152,-280.59 152,-280.59 318.28,-280.59 318.28,-280.59"/>
<polygon fill="black" stroke="black" points="318.28,-284.09 328.28,-280.59 318.28,-277.09 318.28,-284.09"/>
</g>
<!-- FileComponent -->
<g id="node8" class="node">
<title>FileComponent </title>
<polygon fill="#fb8072" stroke="black" points="507.11,-363.59 400.89,-363.59 400.89,-327.59 507.11,-327.59 507.11,-363.59"/>
<text text-anchor="middle" x="454" y="-341.39" font-family="Times,serif" font-size="14.00">FileComponent </text>
</g>
<!-- FileUploaderModule->FileComponent -->
<g id="edge7" class="edge">
<title>FileUploaderModule->FileComponent </title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M431.2,-298.7C431.2,-298.7 431.2,-317.58 431.2,-317.58"/>
<polygon fill="black" stroke="black" points="427.7,-317.58 431.2,-327.58 434.7,-317.58 427.7,-317.58"/>
</g>
<!-- FileUploader -->
<g id="node9" class="node">
<title>FileUploader </title>
<polygon fill="#fb8072" stroke="black" points="382.87,-363.59 289.13,-363.59 289.13,-327.59 382.87,-327.59 382.87,-363.59"/>
<text text-anchor="middle" x="336" y="-341.39" font-family="Times,serif" font-size="14.00">FileUploader </text>
</g>
<!-- FileUploaderModule->FileUploader -->
<g id="edge8" class="edge">
<title>FileUploaderModule->FileUploader </title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M355.49,-298.7C355.49,-298.7 355.49,-317.58 355.49,-317.58"/>
<polygon fill="black" stroke="black" points="351.99,-317.58 355.49,-327.58 358.99,-317.58 351.99,-317.58"/>
</g>
<!-- {
   provide: NG_VALUE_ACCESSOR, useExisting: FileUploader, multi: true
} -->
<g id="node4" class="node">
<title>{
   provide: NG_VALUE_ACCESSOR, useExisting: FileUploader, multi: true
}</title>
<ellipse fill="#fdb462" stroke="black" cx="345" cy="-127.3" rx="320.76" ry="41.09"/>
<text text-anchor="middle" x="345" y="-139.9" font-family="Times,serif" font-size="14.00">{</text>
<text text-anchor="middle" x="345" y="-123.1" font-family="Times,serif" font-size="14.00">    provide: NG_VALUE_ACCESSOR, useExisting: FileUploader, multi: true</text>
<text text-anchor="middle" x="345" y="-106.3" font-family="Times,serif" font-size="14.00">}</text>
</g>
<!-- {
   provide: NG_VALUE_ACCESSOR, useExisting: FileUploader, multi: true
}->FileUploader -->
<g id="edge3" class="edge">
<title>{
   provide: NG_VALUE_ACCESSOR, useExisting: FileUploader, multi: true
}->FileUploader</title>
<path fill="none" stroke="black" d="M152,-160.42C152,-160.42 152,-187.4 152,-187.4"/>
<polygon fill="black" stroke="black" points="148.5,-187.4 152,-197.4 155.5,-187.4 148.5,-187.4"/>
</g>
<!-- ButtonModule -->
<g id="node5" class="node">
<title>ButtonModule</title>
<polygon fill="#8dd3c7" stroke="black" points="665.67,-233.59 662.67,-237.59 641.67,-237.59 638.67,-233.59 568.33,-233.59 568.33,-197.59 665.67,-197.59 665.67,-233.59"/>
<text text-anchor="middle" x="617" y="-211.39" font-family="Times,serif" font-size="14.00">ButtonModule</text>
</g>
<!-- ButtonModule->FileUploaderModule -->
<g id="edge4" class="edge">
<title>ButtonModule->FileUploaderModule</title>
<path fill="none" stroke="black" d="M617,-233.7C617,-252.93 617,-280.59 617,-280.59 617,-280.59 471.91,-280.59 471.91,-280.59"/>
<polygon fill="black" stroke="black" points="471.91,-277.09 461.91,-280.59 471.91,-284.09 471.91,-277.09"/>
</g>
<!-- IconModule -->
<g id="node6" class="node">
<title>IconModule</title>
<polygon fill="#8dd3c7" stroke="black" points="550.43,-233.59 547.43,-237.59 526.43,-237.59 523.43,-233.59 465.57,-233.59 465.57,-197.59 550.43,-197.59 550.43,-233.59"/>
<text text-anchor="middle" x="508" y="-211.39" font-family="Times,serif" font-size="14.00">IconModule</text>
</g>
<!-- IconModule->FileUploaderModule -->
<g id="edge5" class="edge">
<title>IconModule->FileUploaderModule</title>
<path fill="none" stroke="black" d="M465.65,-215.59C459.34,-215.59 454.91,-215.59 454.91,-215.59 454.91,-215.59 454.91,-252.48 454.91,-252.48"/>
<polygon fill="black" stroke="black" points="451.41,-252.48 454.91,-262.48 458.41,-252.48 451.41,-252.48"/>
</g>
<!-- LoadingModule -->
<g id="node7" class="node">
<title>LoadingModule</title>
<polygon fill="#8dd3c7" stroke="black" points="448.21,-233.59 445.21,-237.59 424.21,-237.59 421.21,-233.59 341.79,-233.59 341.79,-197.59 448.21,-197.59 448.21,-233.59"/>
<text text-anchor="middle" x="395" y="-211.39" font-family="Times,serif" font-size="14.00">LoadingModule</text>
</g>
<!-- LoadingModule->FileUploaderModule -->
<g id="edge6" class="edge">
<title>LoadingModule->FileUploaderModule</title>
<path fill="none" stroke="black" d="M395,-233.7C395,-233.7 395,-252.58 395,-252.58"/>
<polygon fill="black" stroke="black" points="391.5,-252.58 395,-262.58 398.5,-252.58 391.5,-252.58"/>
</g>
</g>
</svg>
</div>
<i id="fullscreen" class="icon ion-ios-resize module-graph-fullscreen-btn" aria-hidden="true"></i>
<div class="btn-group size-buttons">
<button id="zoom-in" class="btn btn-default btn-sm">Zoom in</button>
<button id="reset" class="btn btn-default btn-sm">Reset</button>
<button id="zoom-out" class="btn btn-default btn-sm">Zoom out</button>
</div>
</div>
<script src="../js/libs/svg-pan-zoom.min.js"></script>
<script src="../js/svg-pan-zoom.controls.js"></script>
<ul class="nav nav-tabs" role="tablist">
<li class="nav-item">
<a href="#info"
class="nav-link"
class="nav-link active"
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
</li>
<li class="nav-item">
<a href="#source"
class="nav-link"
role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane fade active in" id="info">
<p class="comment">
<h3>File</h3>
</p>
<p class="comment">
<code>src/file-uploader/file-uploader.module.ts</code>
</p>
<div class="container-fluid module">
<div class="row">
<div class="col-sm-3">
<h3>Declarations<a href="https://angular.io/api/core/NgModule#declarations" target="_blank" rel="noopener noreferrer"
title="Official documentation about module declarations"><span class="icon ion-ios-information-circle-outline"></span></a></h3>
<ul class="list-group">
<li class="list-group-item">
<a href="../components/FileComponent.html">FileComponent</a>
</li>
<li class="list-group-item">
<a href="../components/FileUploader.html">FileUploader</a>
</li>
</ul>
</div>
<div class="col-sm-3">
<h3>Imports<a href="https://angular.io/api/core/NgModule#imports" target="_blank" rel="noopener noreferrer"
title="Official documentation about module imports"><span
class="icon ion-ios-information-circle-outline"></a></h3>
<ul class="list-group">
<li class="list-group-item">
<a href="../modules/ButtonModule.html">ButtonModule</a>
</li>
<li class="list-group-item">
<a href="../modules/IconModule.html">IconModule</a>
</li>
<li class="list-group-item">
<a href="../modules/LoadingModule.html">LoadingModule</a>
</li>
</ul>
</div>
<div class="col-sm-3">
<h3>Exports<a href="https://angular.io/api/core/NgModule#exports" target="_blank" rel="noopener noreferrer"
title="Official documentation about module exports"><span
class="icon ion-ios-information-circle-outline"></a></h3>
<ul class="list-group">
<li class="list-group-item">
<a href="../components/FileComponent.html">FileComponent</a>
</li>
<li class="list-group-item">
<a href="../components/FileUploader.html">FileUploader</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="tab-pane fade tab-source-code" id="source">
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";
import { FileUploader } from "./file-uploader.component";
import { FileComponent } from "./file.component";
import { ButtonModule } from "carbon-components-angular/button";
import { LoadingModule } from "carbon-components-angular/loading";
import { IconModule } from "carbon-components-angular/icon";
@NgModule({
declarations: [FileUploader, FileComponent],
exports: [FileUploader, FileComponent],
imports: [
CommonModule,
ButtonModule,
LoadingModule,
IconModule
]
})
export class FileUploaderModule { }
</code></pre>
</div>
</div>
</div><div class="search-results">
<div class="has-results">
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
<ul class="search-results-list"></ul>
</div>
<div class="no-results">
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
</div>
</div>
</div>
<!-- END CONTENT -->
</div>
</div>
<label class="dark-mode-switch">
<input type="checkbox">
<span class="slider">
<svg class="slider-icon" viewBox="0 0 24 24" fill="none" height="20" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" width="20" xmlns="http://www.w3.org/2000/svg">
<path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
</svg>
</span>
</label>
<script>
var COMPODOC_CURRENT_PAGE_DEPTH = 1;
var COMPODOC_CURRENT_PAGE_CONTEXT = 'module';
var COMPODOC_CURRENT_PAGE_URL = 'FileUploaderModule.html';
var MAX_SEARCH_RESULTS = 15;
</script>
<script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script>
<script src="../js/menu-wc.js" defer></script>
<script nomodule src="../js/menu-wc_es5.js" defer></script>
<script src="../js/libs/bootstrap-native.js"></script>
<script src="../js/libs/es6-shim.min.js"></script>
<script src="../js/libs/EventDispatcher.js"></script>
<script src="../js/libs/promise.min.js"></script>
<script src="../js/libs/zepto.min.js"></script>
<script src="../js/compodoc.js"></script>
<script src="../js/tabs.js"></script>
<script src="../js/menu.js"></script>
<script src="../js/libs/clipboard.min.js"></script>
<script src="../js/libs/prism.js"></script>
<script src="../js/sourceCode.js"></script>
<script src="../js/search/search.js"></script>
<script src="../js/search/lunr.min.js"></script>
<script src="../js/search/search-lunr.js"></script>
<script src="../js/search/search_index.js"></script>
<script src="../js/lazy-load-graphs.js"></script>
</body>
</html>