From: Jordan L. <jo...@ex...> - 2000-10-29 19:39:24
|
thanks for the comments. i'm holding off for a few more comments, than i'll post an update. -----Original Message----- From: dyn...@li... [mailto:dyn...@li...]On Behalf Of Darin Kadrioski Sent: Sunday, October 29, 2000 9:23 PM To: 'dyn...@li...' Subject: re: [Dynapi-Dev] Template center 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! _______________________________________________ Dynapi-Dev mailing list Dyn...@li... http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |