Learn how to use console.table to render arrays and objects in a tabular format for easy scanning over the values. We'll create some mock data and then render it to the log in various ways to explore console.table's API. function Character(name, powe…
Suppose you want to populate a non-database data block with records manually in Oracle forms. This task can be done using a cursor.   Below is the example given for hr.job_history table, where user input the employee id in upper block and click on th…
In this tutorial you will learn to create horizontal scrollable tabular or detail data block by using stacked canvas in Oracle Forms. As shown in below picture the first column Empno is fixed and middle columns Ename, Job, Mgr and Hiredate are scroll…
Local Storage is a native JavaScript Web API that makes it easy to store and persist data (as key-value pairs) in the Browser. In this lesson, we'll walk through using window.localStorage to store feedback a user enters into a form (text) so that eve…
ASP.NET Core provides us a rich Logging APIs which have a set of logger providers including: ConsoleLoggerPtovider, AzureAppServicesDiagnosticsLoggerProvider, EventLogLoggerProvider and much more. This let C# developers happy than before, because you…
Learn to use console.time with console.timeEnd to get accurate timings of operations in javascript. This tool can help with javascript profiling and performance optimization, and knowing how to use the console to do it means you don't have to pollute…
HTML5规定可以为元素添加非标准型的属性,只需添加前缀data-,这些属性可以随意添加,随意命名,目的是为元素提供与渲染无关的信息,或提供语义信息. 传统获取方式 'getAttribute' dataset属性的值是DOMStringMap的一个实例,名值对的映射.每个data-name形式的属性都有一个对应的属性,只不过该属性名没有data-前缀. 需要注意的是,data()的值进行修改并不会影响到DOM元素上的data-*属性的改变.data()的本质其实是将一个 “cache” 附加到…
Getting Started – Pug https://pugjs.org/api/getting-started.html GitHub - Tencent/wepy: 小程序组件化开发框架 https://github.com/Tencent/wepy <template lang="pug"> view(class='container') view(class='userinfo' @tap='tap') mycom(:prop.sync='myprop' @f…
效果 首先,我们先建立一些数据,当然你可以从你任何地方读出你的数据 var app = angular.module('plunker', ['ui.bootstrap']); app.controller('MainCtrl', function($scope) { $scope.name = 'World'; $scope.employees =[{id:101, name:'John', phone:'555-1276'}, {id:102, name:'Mary', phone:'800…
In this lesson, we’ll get started with the Maybe type. We’ll look at the underlying Just and Nothing types and create a simple utility function to create a Maybe from a value. Then we’ll see how we can apply functions to values and skip invocation fo…