From: Darin K. <dka...@ef...> - 2000-10-29 19:19:43
|
Thought I might throw my two cents in here. I've created a small js file that handles the rendering of the property, methods and events tables. I think it makes writing and maintaining such pages a bit cleaner. You can pick it up here: http://www.nebiru.com/dynapi2/docs_plus_methods.zip there is an example in there for a component called TButton. Essentially nothing changes, you just include the documentation "engine": <script language="Javascript" src="../include/docs.js"></script> and then add and render the values you want shown: <script> clearMethods() addMethod('reDraw()','','Used to force a refresh.') renderMethods() clearEvents() addEvent('onClick()','Occurs after an onMouseUp event on the button.') renderEvents() </script> Great work on getting this template done Jordan! |