ThingsPro Profile Card UI
npm install @thingspro-web/profile-card
``js
import {sjProfileCard} from 'sanji-profile-card';
angular.module('myApp', [sjProfileCard]);
class DemoController {
$onInit() {
this.title = 'Profile 1';
this.hashtagNum = '1'; // omit this to hide hashtag number
this.profileMessage =
; // omit profileMessage to hide account icon and its message tooltip
this.keyValuePairs = [ // pairs can be any length as long as the card is nice-looking
{key: 'APN Type', value: 'Static'},
{key: 'Authentication Type', value: 'Both'},
{key: 'APN', value: 'internet'},
{key: 'SIM', value: 'Slot 1'},
{key: 'Pin Code', value: '0000'}
];
}
}const DemoComponent = {
controller: DemoController,
template:
};
``This project is licensed under the MIT License - see the LICENSE file for details