fly icon indicating copy to clipboard operation
fly copied to clipboard

Add examples directly to JSDoc

Open agentcooper opened this issue 11 years ago • 0 comments

// @example
/*
$.fly.dropdown.extend({
    defaults: {
        position: 'bottom center',

        content: function () {
            return Template('dropdown').render({});
        }
    },

    init: function() {
        var dropdown = this;

        // use .root() to access DOM node 
        dropdown.root().css('z-index', 9999);
    }
}).create('.js-dropdown');
*/

agentcooper avatar Oct 02 '14 15:10 agentcooper