1.0.2 • Published 4 years ago

ck-screen-res v1.0.2

Weekly downloads
15
License
-
Repository
github
Last release
4 years ago

ScreenRes

Library with responsive full screen image and centered title

Getting Started

Run npm i ck-screen-res --save to install the library. Add ScreenResModule to the imports of app.module.ts . Use the nk-screen-res selector to add to components.

Properties

PropertyDescription
Image0Path to image with a ratio of 0.4 - 0.5
Image1Path to image with a ratio of 0.5 - 0.6
Image2Path to image with a ratio of 0.7 - 0.8
Image3Path to image with a ratio of 1.3 - 1.4
Image4Path to image with a ratio of 1.7 - 1.8
Image5Path to image with a ratio of over 1.9
heightSets the minimum height of the container div
widthSets the minimum width of the container div
titleTextText of the main heading (Centered)
fontFamilyThe font family of the main heading
fontSizeThe font size of the main heading
fontColourThe font colour of the main heading