UNPKG

@stratio/egeo

Version:
83 lines (79 loc) 3.18 kB
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Stratio Egeo - Documentation</title> <base href="/"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="shortcut icon" type="image/png" href="assets/images/favicon.png"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous"> </head> <body class="container-fluid"> <a href="/index.html">Go Back to index</a><br> <h1 id="foregroundnotificationscomponent">Foreground notifications (Component)</h1> <p>Foreground notifications are made to let the user know info about a process she is performing in real time.</p> <h2 id="inputs">Inputs</h2> <table class="table table-striped"> <thead> <tr> <th id="property">Property</th> <th id="type">Type</th> <th id="req">Req</th> <th id="description">Description</th> <th id="default">Default</th> </tr> </thead> <tbody> <tr> <td>visible</td> <td>Boolean</td> <td>False</td> <td>When true the notification is shown</td> <td>false</td> </tr> <tr> <td>autoCloseTime</td> <td>AutoCloseTime</td> <td>False</td> <td>Defines the time in milliseconds for autoclose the notification. The autoclose only applies if only have one notification and status is success</td> <td>'1000'</td> </tr> <tr> <td>notifications</td> <td>StNotificationElement []</td> <td>False</td> <td>'] Array of notifications</td> <td>'[</td> </tr> </tbody> </table> <h2 id="outputs">Outputs</h2> <table class="table table-striped"> <thead> <tr> <th id="property">Property</th> <th id="type">Type</th> <th id="description">Description</th> </tr> </thead> <tbody> <tr> <td>click</td> <td>ClickLinkTemplate</td> <td>Event emitted when user click in a href link</td> </tr> <tr> <td>click</td> <td>VisibleChange</td> <td>Event emitted when set param visible</td> </tr> </tbody> </table> <h2 id="example">Example</h2> <pre><code class="html language-html">&lt;st-foreground-notifications [notifications]="notifications" [(visible)]="true" [autoCloseTime]="1000"&gt;&lt;/st-foreground-notifications&gt; </code></pre> </body> </html>