Three templates in Vue
Because what you have learned is still relatively basic and what you have summarized is also some basic things, it is mainly to review what you have learned and put them together so that you can look back later, so it is only suitable for beginners.
1. html template:HTML templates: DOM-based templates, templates are valid and ...
Posted by Pro.Luv on Tue, 18 Feb 2020 08:07:14 -0800
java learning notes day17 advanced JavaScript
Today's content:
1. JavaScript:
1. ECMAScript:
2. BOM:
3. DOM:
1. Event
DOM simple learning: to meet case requirements
*Function: control the content of html document
*Get page label (Element) object: element
*document.getElementById("id value"): get the element object through ...
Posted by MishieMoo on Tue, 18 Feb 2020 04:54:06 -0800
Grey relational analysis (GRA) implemented by python -- Taking red wine quality index as an example
Article directory
Program description
Program / dataset Download
Screenshot of dataset
Core code analysis
Module / buildmodel.py (interface, can run directly)
Interface call and operation effect
Main.py
Program description
Grey correlation model is used to model the quality index data of red win ...
Posted by azwebdiva on Mon, 17 Feb 2020 20:20:46 -0800
Learn from python-day018 --- from Python distributed crawler to create search engine Scrapy
In section 341, Python distributed crawler creates search engine Scrapy elaboration - writes spiders crawler file to retrieve content in a circular way - the meta attribute returns the specified value to the callback function - Scrapy built-in Image Downloader
Write spiders crawler file to retrieve cont ...
Posted by yasir_memon on Mon, 17 Feb 2020 02:32:19 -0800
Drawer of drawer
Drawer (drawer component)
1. Overview
Scalfold is a common layout Widget used by the Flutter MaterialApp. It accepts a Drawer attribute and supports the configuration of the Drawer. It can pull out the navigation panel from the side bar. The advantage is to fold up some function menus. Generally, th ...
Posted by Asperon on Mon, 17 Feb 2020 01:11:53 -0800
Spring -- Junit test tool, property injection method, annotation
1. Junit test tool
Junit is a unit testing framework for Java programming language
Common comments are:
@BeforeClass: indicates that the method using this annotation is executed before the test class is called. This annotation can only be declared once in a test class, and the method corresponding to ...
Posted by Sanoz0r on Sun, 16 Feb 2020 23:18:51 -0800
HTML+JS reading form data
HTML+JS reading form data
Expected effect
Code
Analysis
Result display
Expected effect
When a form is submitted, it is usually necessary to verify the data validity of the form. The premise of verifying the data is to read the data of the form elements. As shown in Figure 1 below, when clicking ...
Posted by kurios on Sun, 16 Feb 2020 05:00:27 -0800
The key function selector of jQuery
Selector is the core of jquery
The object returned by jquery selector is jquery object, which does not return undefined or null, so it is unnecessary to judge
Basic selector:
ID selector $("" Id ")
element selector (label selector) $("label") such as $("div")
Get the specific label, and use the way of array ...
Posted by jesse26 on Sun, 16 Feb 2020 02:54:35 -0800
Dynamic agent, annotation, classloader learning
Record learning content
Today's main learning: dynamic agent, annotation, classloader
1, Dynamic agent
Role: enhance a method.
There are three ways to enhance an object:
1. Inherit, override method after inheriting parent class.
Advantages: simple, easy to implement, can inherit the class after rewritin ...
Posted by mizkit73 on Sun, 16 Feb 2020 02:50:18 -0800
Python - Object Oriented Advancement
isinstance and issubclass
isinstance(obj,cls) checks if obj is an object of class CLS
class Foo(object):
pass
obj = Foo()
isinstance(obj, Foo)
issubclass(sub, super) Checks if the subclass is a derived class of the super class
class Foo(object):
pass
class Bar(Foo):
pass
issubclass(Bar, Foo)
reflex
1 What is reflecti ...
Posted by m!tCh on Sat, 15 Feb 2020 11:46:35 -0800