Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (37 sloc) 1.36 KB

Bell Icon Notifications Widget

Web Component for Servoy NG Client

Component Properties:

  • items: List of notifications placed into widget
    • type: notifications[], custom type array of objects
    • default: -none-
// definition of type "notifictions[]"
[
   {  
       "id": "int",
       "title": "string",
       "date": "string"
   }
]
  • horizontalAlignment: H pos of popup
    • type: string
    • default: LEFT
  • verticalAlignment: V pos of popup
    • type: string
    • default: TOP
  • maxheight: Max height of notificatios popup in pixels
    • type: integer
    • default: 0 (unlimited height)
  • onRemoveItem(id): callback for remove item event
    • type: function
    • default: -none-

API:

  • setItems([notifications]): updates content of widget
  • removeItem(id): removes notification id

License

All source code in the repository is licensed under a dual license. To use these components and services in your commercial or corporate internal projects, please contact sales@itechpros.com for licensing costs and information.

© iTech Professionals, Inc. http://itechpros.com

You can’t perform that action at this time.