18.3.0 • Published 10 months ago

@ppwcode/ng-wireframe v18.3.0

Weekly downloads
-
License
-
Repository
-
Last release
10 months ago

NgWireframe

This library provides a wireframe for Angular applications.

Usage

Theming

The following CSS variables are available for theming. Just add them to the body selector.

ppw-left-sidenav

Variable nameExtra info
--ppw-sidenav-close-button-color
--ppw-sidenav-navigation-item-child-marginThe default margin to apply to children have a collapsible navigation item.
--ppw-sidenav-navigation-item-hover-background-color
--ppw-sidenav-navigation-item-icon-color
--ppw-sidenav-navigation-item-icon-font-size
--ppw-sidenav-navigation-item-margin-leftThe default margin of a navigation item. The greater the margin, the more space between two navigation items.
--ppw-sidenav-navigation-item-radiusThe border radius applied to the navigation items, visible on hover.
--ppw-sidenav-navigation-item-text-color
--ppw-sidenav-navigation-item-text-font-size
--ppw-sidenav-navigation-item-text-font-weight
--ppw-sidenav-navigation-item-children-wrapper-background
--ppw-sidenav-navigation-item-children-wrapper-border
--ppw-sidenav-navigation-item-children-wrapper-border-radius
--ppw-sidenav-navigation-item-children-wrapper-margin
--ppw-sidenav-navigation-item-children-wrapper-padding
--ppw-sidenav-navigation-item-external-icon-colorThe color for the icon indicating that the navigation item links to an external link. By default, this is the same as the navigation item text color.

ppw-toolbar

Variable nameExtra info
--ppw-toolbar-border-bottom
--ppw-toolbar-box-shadow
--ppw-toolbar-button-background
--ppw-toolbar-button-hover-background
--ppw-toolbar-button-hover-text-color
--ppw-toolbar-button-padding
--ppw-toolbar-page-title-font-size
--ppw-toolbar-page-title-padding
--ppw-toolbar-page-title-text-color

ppw-wireframe

Variable nameExtra info
--ppw-app-wireframe-drawer-width
--ppw-app-wireframe-drawer-border
--ppw-page-container-background
--ppw-sidenav-background-color

Wireframe

The wireframe places an application layout with responsive left navigation and a toolbar on your web page. You can hide the wireframe by adding a flag in the route configuration - In data add the 'showWireframe: false' flag - If this flag is not added it will by default be true and show the wireframe

Content

Content can be added in 3 places:

  • The left side of the toolbar: ppw-toolbar-left-content
  • The right side of the toolbar: ppw-toolbar-right-content
  • Above the navigation menu items: ppw-sidebar-top-content
  • At the bottom of the drawer: ppw-sidebar-bottom-content

Complete example:

<ppw-wireframe [navigationItems]="getNavigationItems()" [sidebarOptions]="sidebarOptions">
    <ng-container ppw-toolbar-right-content><mat-icon>person</mat-icon></ng-container>
    <ng-container ppw-sidebar-top-content></ng-container>
    <ng-container ppw-sidebar-bottom-content><div class="version-info"><div>v0.0.2</div></div></ng-container>
</ppw-wireframe>

Logo

A logo can be added to the sidebar using the sidebarOptions.

Navigation items

Navigation links can be added using navigationItems.

18.3.0

10 months ago

18.2.0

11 months ago

18.1.1

12 months ago

0.0.80

1 year ago

0.0.81

1 year ago

0.0.82

1 year ago

0.0.83

1 year ago

18.0.0

1 year ago

18.1.0

1 year ago

0.0.79

1 year ago

0.0.77

1 year ago

0.0.78

1 year ago

0.0.76

1 year ago

0.0.75

1 year ago

0.0.74

1 year ago

0.0.73

1 year ago

0.0.72

1 year ago

0.0.71

1 year ago

0.0.70

2 years ago

0.0.69

2 years ago

0.0.68

2 years ago

0.0.67

2 years ago

0.0.66

2 years ago

0.0.65

2 years ago

0.0.63

2 years ago

0.0.64

2 years ago

0.0.62

2 years ago

0.0.60

2 years ago

0.0.61

2 years ago

0.0.59

2 years ago

0.0.58

2 years ago

0.0.57

2 years ago

0.0.56

2 years ago

0.0.55

2 years ago

0.0.54

2 years ago

0.0.53

2 years ago

0.0.52

2 years ago

0.0.51

2 years ago

0.0.50

2 years ago

0.0.49

2 years ago

0.0.48

2 years ago

0.0.47

2 years ago

0.0.46

2 years ago

0.0.45

2 years ago

0.0.44

2 years ago

0.0.43

2 years ago

0.0.42

2 years ago

0.0.41

2 years ago

0.0.40

2 years ago

0.0.39

2 years ago

0.0.38

2 years ago

0.0.37

2 years ago

0.0.36

2 years ago

0.0.35

2 years ago

0.0.34

2 years ago

0.0.33

2 years ago

0.0.31

2 years ago

0.0.30

2 years ago

0.0.29

2 years ago

0.0.28

2 years ago

0.0.27

2 years ago

0.0.26

2 years ago

0.0.25

2 years ago

0.0.24

2 years ago

0.0.23

2 years ago

0.0.22

2 years ago

0.0.21

2 years ago

0.0.20

2 years ago

0.0.19

2 years ago

0.0.18

2 years ago

0.0.17

2 years ago

0.0.16

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago