19.7.0 • Published 1 year ago

@ppwcode/ng-wireframe v19.7.0

Weekly downloads
-
License
-
Repository
-
Last release
1 year 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.

19.0.1

1 year ago

19.0.0

1 year ago

19.0.2

1 year ago

19.4.1

1 year ago

19.4.0

1 year ago

19.4.3

1 year ago

19.3.0

1 year ago

19.3.2

1 year ago

19.3.1

1 year ago

19.7.0

1 year ago

19.2.0

1 year ago

19.6.0

1 year ago

19.1.0

1 year ago

19.1.2

1 year ago

19.1.1

1 year ago

19.5.0

1 year ago

18.3.0

2 years ago

18.2.0

2 years ago

18.1.1

2 years ago

0.0.80

2 years ago

0.0.81

2 years ago

0.0.82

2 years ago

0.0.83

2 years ago

18.0.0

2 years ago

18.1.0

2 years ago

0.0.79

2 years ago

0.0.77

2 years ago

0.0.78

2 years ago

0.0.76

2 years ago

0.0.75

2 years ago

0.0.74

2 years ago

0.0.73

2 years ago

0.0.72

2 years ago

0.0.71

2 years 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

3 years ago

0.0.52

3 years ago

0.0.51

3 years ago

0.0.50

3 years ago

0.0.49

3 years ago

0.0.48

3 years ago

0.0.47

3 years ago

0.0.46

3 years ago

0.0.45

3 years ago

0.0.44

3 years ago

0.0.43

3 years ago

0.0.42

3 years ago

0.0.41

3 years ago

0.0.40

3 years ago

0.0.39

3 years ago

0.0.38

3 years ago

0.0.37

3 years ago

0.0.36

3 years ago

0.0.35

3 years ago

0.0.34

3 years ago

0.0.33

3 years ago

0.0.31

3 years ago

0.0.30

3 years ago

0.0.29

3 years ago

0.0.28

3 years ago

0.0.27

3 years ago

0.0.26

3 years ago

0.0.25

3 years ago

0.0.24

3 years ago

0.0.23

3 years ago

0.0.22

3 years ago

0.0.21

3 years ago

0.0.20

3 years ago

0.0.19

3 years ago

0.0.18

3 years ago

0.0.17

3 years ago

0.0.16

3 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago