Panel Component - Section9Code/OttaWebApp GitHub Wiki

Use the panel component when ever you need to display a panel to the user

Usage

<otta-panel [title]="'Admin function'">
    <p>
        Put any content you like into the panel
    </p>
</otta-panel>

Note: It is important that is you are not passing a variable to the field (like the title field for instance) than you wrap your text in single quotes. That means you are creating a new string variable to pass in.

Parameters

  • title - The title message of the panel
  • subtitle - The subtitle for the panel
  • subtitlePullRight - Should the subtitle be pulled to the right
  • footer - The footer message of the panel
  • footerRight - Should the footer message be pulled to the right