...t class ChildComponent { public name: string; } ``` parent.component.ts ```javascript import {Component, OnInit} from '@angular/core'; import {ChildComponent} from './child-component.ts'; @Component({ selector: 'parent-component', template: ` <child-component #child></child-component> &l...
http://www.o2fo.com/angular/angular-pnuh24ol.htmlJSON(JavaScript Object Notation)是一種輕量級(jí)的數(shù)據(jù)交換格式。JSONM文件中包含了關(guān)于“名稱”和“值”的信息。有時(shí)候我們需要讀取JSON格式的數(shù)據(jù)文件,在jQuery中可以使用Ajax或者$.getJSON()方法實(shí)現(xiàn)。 下面就使用jQuery讀取music.txt文件中...
http://www.o2fo.com/json/vbqx1pp3.html...`TextWhiteSpace`]} [`Class`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes [`Object`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object [`Array`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Arra...
http://www.o2fo.com/nodegui/nodegui-ql8b2glq.html前言 大家學(xué)JavaScript的時(shí)候,經(jīng)常遇到自執(zhí)行匿名函數(shù)的代碼,今天我們主要就來(lái)想想說(shuō)一下自執(zhí)行。 在詳細(xì)了解這個(gè)之前,我們來(lái)談了解一下“自執(zhí)行”這個(gè)叫法,本文對(duì)這個(gè)功能的叫法也不一定完全對(duì),主要是看個(gè)人如何...
http://www.o2fo.com/wizdoa/37gp5ozt.html邏輯層介紹 智能小程序的邏輯層由 JavaScript 編寫(xiě)。 邏輯層將數(shù)據(jù)進(jìn)行處理后發(fā)送給視圖層,同時(shí)接受視圖層的反饋。 在 JavaScript 的基礎(chǔ)上,我們提供了一些框架方法。 1、提供了 App 和 Page 方法 2、提供了 getApp 和 getCurrentPages ...
http://www.o2fo.com/baiduapp/baiduapp-shnl2sxz.html...單適用在桌面設(shè)備。調(diào)用方式通過(guò)自定義屬性調(diào)用通過(guò) JavaScript 調(diào)用相關(guān)資料Material Design 菜單設(shè)計(jì)規(guī)范樣式簡(jiǎn)單菜單在菜單項(xiàng)上添加 disabled 屬性可以禁用一個(gè)菜單項(xiàng)。 添加 <li class="mdui-divider"></li> 元素可以添加分隔線...
http://www.o2fo.com/mdui/mdui-ui7e2468.html...返回函數(shù)、分布程序、柯里化(Currying)。 回調(diào)函數(shù) 在JavaScript中,當(dāng)一個(gè)函數(shù)A作為另外一個(gè)函數(shù)B的其中一個(gè)參數(shù)時(shí),則函數(shù)A稱為回調(diào)函數(shù),即A可以在函數(shù)B的周期內(nèi)執(zhí)行(開(kāi)始、中間、結(jié)束時(shí)均可)。 舉例來(lái)說(shuō),有一個(gè)函數(shù)...
http://www.o2fo.com/wizdoa/tq1kdozt.html...條件并將控件從循環(huán)中取出。 在編譯時(shí),它會(huì)生成以下JavaScript代碼: //Generated by typescript 1.8.10 var n = 5; while (n > 5) { console.log("Entered while"); } do { console.log("Entered do…while"); } while (n > 5); 上面的代碼將產(chǎn)生以下輸出: Entered do...
http://www.o2fo.com/typescript/typescript_loops.html...Code.zip) 文件,并解壓至本地。 ## 頁(yè)面使用 > page.axml ```javascript <mobile-code onSendCode="onSendCode" onCodeInput="onCodeInput"/> ``` ## 組件傳參說(shuō)明 | 字段名 | 簡(jiǎn)介 | 類型 | 默認(rèn)值 |...
http://www.o2fo.com/aliminiapp/aliminiapp-t7z23bcm.html先決條件: 熟悉核心 HTML , CSS 和 JavaScript 語(yǔ)言; 高級(jí)跨瀏覽器測(cè)試原則的概念。 目的: 提供對(duì)自動(dòng)化測(cè)試所需的理解,如何使您的生活更輕松,以及如何利用一些使事情更容易的商業(yè)產(chǎn)品。 自動(dòng)化使事情變得容易 在本單元中,...
http://www.o2fo.com/webstart/webstart-automated-testing.html抱歉,暫時(shí)沒(méi)有相關(guān)的微課
w3cschool 建議您:
抱歉,暫時(shí)沒(méi)有相關(guān)的視頻課程
w3cschool 建議您:
抱歉,暫時(shí)沒(méi)有相關(guān)的教程
w3cschool 建議您:
...t class ChildComponent { public name: string; } ``` parent.component.ts ```javascript import {Component, OnInit} from '@angular/core'; import {ChildComponent} from './child-component.ts'; @Component({ selector: 'parent-component', template: ` <child-component #child></child-component> &l...
http://www.o2fo.com/angular/angular-pnuh24ol.htmlJSON(JavaScript Object Notation)是一種輕量級(jí)的數(shù)據(jù)交換格式。JSONM文件中包含了關(guān)于“名稱”和“值”的信息。有時(shí)候我們需要讀取JSON格式的數(shù)據(jù)文件,在jQuery中可以使用Ajax或者$.getJSON()方法實(shí)現(xiàn)。 下面就使用jQuery讀取music.txt文件中...
http://www.o2fo.com/json/vbqx1pp3.html...`TextWhiteSpace`]} [`Class`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes [`Object`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object [`Array`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Arra...
http://www.o2fo.com/nodegui/nodegui-ql8b2glq.html前言 大家學(xué)JavaScript的時(shí)候,經(jīng)常遇到自執(zhí)行匿名函數(shù)的代碼,今天我們主要就來(lái)想想說(shuō)一下自執(zhí)行。 在詳細(xì)了解這個(gè)之前,我們來(lái)談了解一下“自執(zhí)行”這個(gè)叫法,本文對(duì)這個(gè)功能的叫法也不一定完全對(duì),主要是看個(gè)人如何...
http://www.o2fo.com/wizdoa/37gp5ozt.html邏輯層介紹 智能小程序的邏輯層由 JavaScript 編寫(xiě)。 邏輯層將數(shù)據(jù)進(jìn)行處理后發(fā)送給視圖層,同時(shí)接受視圖層的反饋。 在 JavaScript 的基礎(chǔ)上,我們提供了一些框架方法。 1、提供了 App 和 Page 方法 2、提供了 getApp 和 getCurrentPages ...
http://www.o2fo.com/baiduapp/baiduapp-shnl2sxz.html...單適用在桌面設(shè)備。調(diào)用方式通過(guò)自定義屬性調(diào)用通過(guò) JavaScript 調(diào)用相關(guān)資料Material Design 菜單設(shè)計(jì)規(guī)范樣式簡(jiǎn)單菜單在菜單項(xiàng)上添加 disabled 屬性可以禁用一個(gè)菜單項(xiàng)。 添加 <li class="mdui-divider"></li> 元素可以添加分隔線...
http://www.o2fo.com/mdui/mdui-ui7e2468.html...返回函數(shù)、分布程序、柯里化(Currying)。 回調(diào)函數(shù) 在JavaScript中,當(dāng)一個(gè)函數(shù)A作為另外一個(gè)函數(shù)B的其中一個(gè)參數(shù)時(shí),則函數(shù)A稱為回調(diào)函數(shù),即A可以在函數(shù)B的周期內(nèi)執(zhí)行(開(kāi)始、中間、結(jié)束時(shí)均可)。 舉例來(lái)說(shuō),有一個(gè)函數(shù)...
http://www.o2fo.com/wizdoa/tq1kdozt.html...條件并將控件從循環(huán)中取出。 在編譯時(shí),它會(huì)生成以下JavaScript代碼: //Generated by typescript 1.8.10 var n = 5; while (n > 5) { console.log("Entered while"); } do { console.log("Entered do…while"); } while (n > 5); 上面的代碼將產(chǎn)生以下輸出: Entered do...
http://www.o2fo.com/typescript/typescript_loops.html...Code.zip) 文件,并解壓至本地。 ## 頁(yè)面使用 > page.axml ```javascript <mobile-code onSendCode="onSendCode" onCodeInput="onCodeInput"/> ``` ## 組件傳參說(shuō)明 | 字段名 | 簡(jiǎn)介 | 類型 | 默認(rèn)值 |...
http://www.o2fo.com/aliminiapp/aliminiapp-t7z23bcm.html先決條件: 熟悉核心 HTML , CSS 和 JavaScript 語(yǔ)言; 高級(jí)跨瀏覽器測(cè)試原則的概念。 目的: 提供對(duì)自動(dòng)化測(cè)試所需的理解,如何使您的生活更輕松,以及如何利用一些使事情更容易的商業(yè)產(chǎn)品。 自動(dòng)化使事情變得容易 在本單元中,...
http://www.o2fo.com/webstart/webstart-automated-testing.html抱歉,暫時(shí)沒(méi)有相關(guān)的文章
w3cschool 建議您: