Skip to content

nvdnkpr/ngDock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

ngDock

angular module for tag dock system

usage:

<body dock-ref>
  <div dock="$angularexpr">my content</div>
</body>

$angularexpr is an angular expression that returns one of this:

  • top
  • left
  • right
  • bottom
  • fill

example:

<body dock-ref>
  <div dock="'fill'"></div>
</body>

or:

<body dock-ref>
  <div dock="myScopeVariable">my content</div>
</body>

if you want to be able to resize a dock you need to set another directive:

dock-resizable

example:

<body dock-ref>
  <div dock="'top'" dock-resizable>Top</div>
  <div dock="'fill'">Fill</div>
</body>

notice: you can only resize a non 'fill' dock

More info: Wiki

About

angular module for tag dock system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published