123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- var Unibase;
- (function (Unibase) {
- let Platform;
- (function (Platform) {
- let Communications;
- (function (Communications) {
- let Components;
- (function (Components) {
- let Remainders;
- (function (Remainders) {
- class Facebook extends Unibase.Platform.Core.BaseComponent {
- cssFiles() {
- throw new Error("Method not implemented.");
- }
- jsFiles() {
- throw new Error("Method not implemented.");
- }
- html(id, containerid) {
- var html = '';
- return html;
- }
- load(id, containerid, callback) {
- throw new Error("Method not implemented.");
- }
- init(containerid) {
- debugger;
- this.loaddesign(containerid);
- }
- loaddesign(containerid) {
- var html = '<div class="h-40p w-320p mx-auto d-flex flex-row"><img src="https://pngimg.com/uploads/facebook_logos/facebook_logos_PNG19748.png" class="ml-1 py-1 w-5p h-5p img-fluid"><span class="ml-2 font-18 my-auto text-dark font-weight-500">Facebook</span></div><div class="d-flex w-320p mx-auto"><iframe src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2FexxonMobil&tabs=timeline&width=320&height=590&small_header=false&adapt_container_width=true&hide_cover=false&show_facepile=true&appId" width="320" height="590" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"></iframe></div>';
- debugger;
- $("." + containerid).append(html);
- }
- static Instance() {
- if (this.instance === null || this.instance === undefined)
- this.instance = new Facebook();
- return this.instance;
- }
- }
- Remainders.Facebook = Facebook;
- })(Remainders = Components.Remainders || (Components.Remainders = {}));
- })(Components = Communications.Components || (Communications.Components = {}));
- })(Communications = Platform.Communications || (Platform.Communications = {}));
- })(Platform = Unibase.Platform || (Unibase.Platform = {}));
- })(Unibase || (Unibase = {}));
|