Emprise Component Library

From Emprise Wiki
Jump to: navigation, search

Current demo of Emprise Components can be found at the following link: http://emprise-ws3/emprisecomponents/


Console

The console utility in EJC provides a quick way to send messages to the browser's console if it exists.

It also displays a console box in the top-right portion of the screen with the same messages.

This box can be useful if the browser does not support console (IE for example), or if you don't want the full console open.

  • Turning the console on
    • ejc.console.level = 4;
  • Logging levels
    • 4 - Show all messages (log, info, warn, error)
    • 3 - Show info, warn, error
    • 2 - Show warn, error
    • 1 - Show error
    • 0 - (Default) Don't show any messages
  • Using the console
    • ejc.console.log( msg );
    • ejc.console.info( msg );
    • ejc.console.warn( msg );
    • ejc.console.error( msg );


Current Bug List

  • Layout
    • Fix position of resizers after Panel collapse
    • Speed up resizing routine
  • PageControl
    • Fix resizing for height: 'auto'
    • Fix height/position of tabs with multiple lines
    • Allow/show focusing of tabs
  • ToolBar
    • Add Spacers and fix widths where width: 'auto' to expand
  • TextNode
    • Escape all special characters, not just <, >, and &
  • TextInput/TextArea
    • Work on labels
  • List/Select
    • Add key listeners
  • Menu
    • Add key listeners
    • Correctly position/size when shown


Layout Breakdown

ComponentTree.PNG