@ultrade/angular-embed
v0.0.3
Published
[![N|Solid](https://testnet.ultrade.org/Theme%3DLight.svg)](https://ultrade.org)
Downloads
72
Readme
ULTRADE ANGULAR EMBED
Easiest way to ebmbed the Ultrade in a Angular application
Installation
npm i @ultrade/angular-embed
Usage
Basic implementation
import { Component } from '@angular/core';
import { UltradeComponent } from '@ultrade/angular-embed';
@Component({
selector: 'app-root',
standalone: true,
template: `
<main class="main">
<div class="content">
<ultrade-embed></ultrade-embed>
</div>
</main>
`,
styleUrls: ['./app.component.css'],
imports: [MyLibComponent],
})
export class AppComponent {
title = 'angular-test';
}
Connection to testnet
<div>
<ultrade-embed src="https://testnet.ultrade.org">
</ultrade-embed>
</div>
Note:
src='<URL_TO_ULTRADE_APPLICATION>'
is needed only for TestNet not for MainNet.
Styles
Ultrade component will fill it's container size. You can controll the size by it's container size.
License
MIT