Skip to content
Snippets Groups Projects
Commit 876b89c3 authored by Rickard Loland's avatar Rickard Loland
Browse files

Improved comment createpost

parent 4c6e303f
No related branches found
No related tags found
No related merge requests found
/**
* CreatePost.js
*
* A simple lit-element page responsible for creating new posts on the forum. The body, header and footer layout
* uses our standard homepage design, so this page only has a small content section for html. Our form connects
* to the createPost function inside server.js and provides the data to be inserted into our database.
*/
/* library */
import { LitElement, html, css } from '../node_modules/lit-element/lit-element';
/**
* @brief Class CreatePost
*
* simple lit-element page responsible for creating new posts on the forum. The body, header and footer layout
* uses our standard homepage design, so this page only has a small content section for html. Our form connects
* to the createPost function inside server.js and provides the data to be inserted into our database.
*/
export class CreatePost extends LitElement {
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment