dvn-calendar-double
v1.1.1
Published
Stencil Component Starter Double Calendar
Downloads
8
Readme
Use Web-Component
<calendar-input-selection></calendar-input-selection>
Getting Started
To run project:
npm install
npm start
To build the component for production, run:
npm run build
To run the unit tests for the components, run:
npm test
Naming Components
When creating new component tags, we recommend not using stencil
in the component name (ex: <stencil-datepicker>
). This is because the generated component has little to nothing to do with Stencil; it's just a web component!
Instead, use a prefix that fits your company or any name for a group of related components. For example, all of the Ionic generated web components use the prefix ion
.
Node Modules
- Run
npm install my-component --save
- Put a script tag similar to this
<script type='module' src='node_modules/my-component/dist/my-component.esm.js'></script>
in the head of your index.html - Then you can use the element anywhere in your template, JSX, html etc
CSS Custom Properties.
Colors (Defaul value)
--primary-color, #056dae
--secondary-color, #0075c0
--tertiary-color, #def6ff
--inactive-color, rgb(179,179,179)
--backgroud-color, rgb(255, 255, 255)
--border-color, rgb(204, 204, 204)
--font-color, rgb(50, 50, 50)
font-family
--font-light, 'InterStateL', sans-serif
Images