jQuerySharp

码农软件 · 软件分类 · 其他开发相关 · 2019-10-29 14:42:40

软件介绍

jQuerySharp 是一个用 C# 来编写 jQuery 代码的C#类库,下面是生成的 jQuery 代码示例:

Type.createNamespace('JQuerySharp');

////////////////////////////////////////////////////////////////////////////////
// JQuerySharp.Example

JQuerySharp.Example = function JQuerySharp_Example() {
}
JQuerySharp.Example.prototype = {
   
    run: function JQuerySharp_Example$run() {
        var jq = jQuery('#test');
        jq.append('Some new content').append('A bit more');
        jq.attr('style', 'border:1px');
        if (jQuery.browser.msie) {
            alert('You\'re using IE');
        }
        jQuery('#clickme').click(Delegate.create(this, this.onClick));
        jQuery().ready(Delegate.create(this, this.onReady));
    },
   
    onClick: function JQuerySharp_Example$onClick() {
        jQuery('#newcontent').html('<h1>new stuff here</h1>');
        var test = jQuery('#cloneme').clone();
        var jq = jQuery('#newcontent');
        jq.attr('style', 'color:red').append('<p>This comes from attr</p>');
        jq.append(test);
    },
   
    onReady: function JQuerySharp_Example$onReady() {
        alert('Called from ready');
        var plugin = jQuery('#test');
        plugin.accordion();
    }
}

JQuerySharp.Example.createClass('JQuerySharp.Example');

本文地址:https://www.codercto.com/soft/d/17823.html

算法学

算法学

哈雷尔 / 第1版 (2006年2月1日) / 2006年2月1日 / 38.0

本书的意图在于按序学习或研究,而不是作为一个参考。因而按照每章依赖于前面章节的结构组织本书,且流畅易读。第一部分预备知识中的大部分材料对于那些具有程序设计背景的人是熟悉的。无论是否恰当,本书包含了计算机科学家当前感兴趣的研究专题的简明讨论。这本教科书的书后有每章详细参考书目的注记,并通过“后向”指针把教科书中的讨论与相关文献联系起来。目前的版本包含大量习题,以及大约三分之一的题解。可用题解作为教科......一起来看看 《算法学》 这本书的介绍吧!

MD5 加密
MD5 加密

MD5 加密工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具