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://codercto.com/soft/d/17823.html

微信营销与运营

微信营销与运营

秦阳、秋叶 / 人民邮电出版社 / 2016-12-1 / 39.80

《微信营销与运营》共分七章。第1章重点介绍了微信营销的概念、价值和特征,引导读者全面认识微信营销;第2章介绍了个人微信号的运营技巧和手法;第3章重点介绍了微信公众平台的基础操作入门,申请适合自己的公众平台类型并进行基本设置;第4章介绍了微信运营的规划策略,落实公众号的定位、内容问题;第5章介绍微信运营中包括排版、增加粉丝、提升阅读量等运营实战中的经验和手法,并了解微信运营的整个运营框架体系;第6章......一起来看看 《微信营销与运营》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具