| description | A Footer component defines a footer for a document or section. It is used when the content should be displayed at the bottom of the page. |
|---|
A Footer component typically contains author information, copyright information, contact information, sitemap, back to top links, and related documents. There can be several footer components in one document.
- Drag and drop a Footer component.
- Fill the attributes.
- Optionally, add other components.
- Save and run the page.
Display a Footer with Neutrinos copyright information.
-
Drag and drop a Footer component to your page.
-
Drag and drop a HTML5 component inside the Footer component.
-
Open the HTML5 component's attribute window and select Paragraph in the Element Type drop-down list.
-
Click the HTML5 editor on your page, an editor block is displayed in the bottom of the screen. Enter this code in the editor:
<p>© Neutrinos. All rights reserved.</p>. -
Drag and drop a Image component inside the Footer component.Double click the component to display the list of attributes.
-
Input the Image attribute fields with the following attribute values:
imgsrc= /<path>/neutrinos.pngAlt= Neutrinos Logo -
Save and run the page. You will see a footer displayed on the page with the copyright information and Neutrinos logo.
-
Footer label:Display name of the footer. -
style: Accepts a string value that affects different properties of the component such as height, width, and color, based on the values provided. For example:background:orange:height:200px. -
class: Used to point to a class in a style sheet. Each class contains one or more style statements defined in the Style editor. TheClassfield accepts space separated class names such asclass1 class2, where each class is defined in the Style editor as shown below:.class1 { border-radius:10px; flex-basis:10%; height:100px; } .class2 { border-radius:10px; flex-basis:10%; height:100px; }
Support
- Devices: Android, iOS
- Browsers: Latest version of all modern browsers
- Dependencies version:
- Angular CLI version: 6.0.0 +
- Cordova version: 7.1.0 +