submit-content
0.0.2 • Public • Published Submit user generated content to Firestorage and firestore record.
- Initiate Google Analytics on website
- Initiate Firebase Project
- Create Post: (Data Referances)
- Initiate Firestore
- Login name
- PhotoURL
- Post Title
- Upload Photo:
-
<content-button>
-- Icon
-
<content-drawer>
-- Drawer
-
<content-view>
-- Page (Firestore database output)
<script type="module" src="../src/content-button.js" async></script>
<script type="module" src="../src/content-drawer.js" async></script>
- or
import { ContentButton } from './content-button';
import { ContentDrawer } from './content-drawer';
- or
import 'submit-content';
- _formPage: { type: String }
- _projectOpened: { type: Boolean }
- setDrawer
- closeProject
- nextPage
- previousPage
- customer
- industry
- type
- OPEN_PROJECTS
- CLOSE_PROJECTS
- UPDATE_FORM_PAGE
- NEXT_PAGE
- PREVIOUS_PAGE
- UPDATE_FORM_INDUSTRY
- UPDATE_FORM_TYPE
- drawerState
- formPage
- option
- customer
- industry
- type
- this.shadowRoot.getElementById('add') // Open / close Drawer
- this.shadowRoot.getElementById('remove') // Close Drawer
- this.shadowRoot.getElementById('back') // Previous Page
- this.shadowRoot.getElementById('next') // Next Page
- this.shadowRoot.getElementById('submit') // Save to Referances Firestore
- this.shadowRoot.getElementById("input") // Download Image to Firestorage
Package Sidebar
Install
Weekly Downloads