A Pen by Robert Biggs
How do I make an a pen by robert biggs?
What is a a pen by robert biggs? How do you make a a pen by robert biggs? This script and codes were developed by Robert Biggs on 24 August 2022, Wednesday.
A Pen by Robert Biggs - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>A Pen by Robert Biggs</title> <link rel='stylesheet prefetch' href='https://s3-us-west-2.amazonaws.com/s.cdpn.io/77047/chui-ios.min.css'>
</head>
<body> <screen id="main" class="current"> <nav> <h1>Components</h1> </nav> <section> <h2>Component 1</h2> <!-- Container for first component --> <ul class="list" id="arrayTemplate1"></ul> <h2>Component 2</h2> <!-- Container for second component --> <ul class="list" id="arrayTemplate2"></ul> </section>
</screen> <script src='https://s3-us-west-2.amazonaws.com/s.cdpn.io/77047/chui.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
A Pen by Robert Biggs - Script Codes JS Codes
// Array data:
//=============
var lums = [ {firstName: "Stephen", lastName: "Hawking"}, {firstName: "Albert", lastName: "Einstein"}, {firstName: "Leonardo", lastName: "Da Vinci"}, {firstName: "Galileo", lastName: "Galilei"}, {firstName: "Nicholas", lastName: "Copernicus"}
];
var bums = [ {firstName: 'Joe', lastName: 'Bodoni'}, {firstName: 'Wobba', lastName: 'Bango'}, {firstName: 'Jeff', lastName: 'Ruther'}, {firstName: 'Pete', lastName: 'Smith'}
];
/** * Define component "people": */
$.Component({ name: 'PeopleComponent', variable: 'person', element: ' ', /** * Give it a start number: */ startIndexFrom: 7, template: "<li class='comp'>\ <div>\ <h3>\ {= $.view.index }: {= person.firstName } {= person.lastName }\ </h3>\ </div>\ </li>", events: [ { event: 'tap', element: 'li', callback: function() { console.log($(this).text()) } } ]
});
/** * Array data: */
var lums = [ {firstName: "Stephen", lastName: "Hawking"}, {firstName: "Albert", lastName: "Einstein"}, {firstName: "Leonardo", lastName: "Da Vinci"}, {firstName: "Galileo", lastName: "Galilei",}, {firstName: "Nicholas", lastName: "Copernicus"}
];
var bums = [ {firstName: 'Joe', lastName: 'Bodoni'}, {firstName: 'Wobba', lastName: 'Bango'}, {firstName: 'Jeff', lastName: 'Ruther'}, {firstName: 'Pete', lastName: 'Smith'}
];
// Define a component instance:
var LumsView = $.PeopleComponent();
// Attach to first component container:
LumsView.setElement('#arrayTemplate1');
LumsView.render(lums);
// Define another component container:
var BumsView = $.PeopleComponent();
// Attach to second component target:
BumsView.setElement('#arrayTemplate2');
BumsView.render(bums);
Developer | Robert Biggs |
Username | rbiggs |
Uploaded | August 24, 2022 |
Rating | 3 |
Size | 2,103 Kb |
Views | 30,360 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
IOS 7 Transparent Sheet | 2,719 Kb |
IOS 7 Selection List | 1,962 Kb |
Simple Navigation List | 2,261 Kb |
IOS 7 Horizontal Paging | 2,133 Kb |
IOS 7 Segmented Control | 2,577 Kb |
Dynamic List | 2,413 Kb |
Busy Indicator V5 | 2,055 Kb |
Tab Bar App | 7,112 Kb |
TypeScript d.ts Test | 1,623 Kb |
Select List for Android | 2,002 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Virtual vinyl | Davidpanik | 3,474 Kb |
Responsive Minimal Blog Layout | Hackthevoid | 5,261 Kb |
Login with flip 3d animation | Mariusbalaj | 3,014 Kb |
After America | Jonathangarner | 2,686 Kb |
A vuejs widget | Chrgl86 | 2,869 Kb |
A Pen by Dalton Liu | Liudalton | 12,437 Kb |
PNotify Demo | Adittmar | 1,731 Kb |
Animation | B3ST1156 | 1,584 Kb |
Header | Er40 | 1,542 Kb |
Addthis_button | Esambino | 1,691 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!