aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadevchavali1@gmail.com>2019-02-11 15:48:39 +0000
committerAryadev Chavali <aryadevchavali1@gmail.com>2019-02-11 15:48:39 +0000
commitc94ca254d8ed2a4f29f49f5de0a8e542c73230b7 (patch)
tree08dd154be8ae115013a3b6286f9f35621b6ce8c8
parent687b233da16ec91d275f60825530f4075859be45 (diff)
downloadnewsaggregator-c94ca254d8ed2a4f29f49f5de0a8e542c73230b7.tar.gz
newsaggregator-c94ca254d8ed2a4f29f49f5de0a8e542c73230b7.tar.bz2
newsaggregator-c94ca254d8ed2a4f29f49f5de0a8e542c73230b7.zip
Created basic class to hold a single article
-rw-r--r--Server/wwwroot/scripts/main.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/Server/wwwroot/scripts/main.ts b/Server/wwwroot/scripts/main.ts
index e69de29..77a80d3 100644
--- a/Server/wwwroot/scripts/main.ts
+++ b/Server/wwwroot/scripts/main.ts
@@ -0,0 +1,8 @@
+var root = document.getElementsByClassName('app');
+
+class Article {
+ Title: HTMLElement;
+ Description: string;
+ ArticleLink: string;
+ Image: HTMLElement;
+} \ No newline at end of file