UI-Grid Import Data
Original: 207 Importing Data
The importer function allows data to be imported into csv or json format. The importer can use the menu in the table or accept custom files implemented by the user to select files in the computer.
The importer function imports files in json or csv format. If the requirement exists, it can be extended to other fil ...
Posted by trev on Wed, 03 Jul 2019 14:27:42 -0700
Some Little Knowledge in Learning
1.splice
1. Role: Delete
Usage: arr.splice(index,1); //delete index, the number of deletions is "1";
2. Function: Replacement
Usage: arr.splice(index,1, p); // Replace the value of index with P
2. Page Percentage Settings
<div style="height:10%;"></div>
3.Angularjs default time control
<input clas ...
Posted by warydig on Thu, 20 Jun 2019 16:34:20 -0700
Angular JS Toaster Use Details
Angular JS Toaster is an Angular JS prompt box. Based on angular v1.2.6 and above and angular-animate. (Recommended use / 1.2.8/angular-animate.js, because the high version will have weird flicker.)
Import scripts
<link href="https://cdnjs.cloudflare.com/ajax/libs/angularjs-toaster/0.4.16/toaster.min.css" rel="stylesheet" />
<script ...
Posted by shlumph on Thu, 04 Apr 2019 17:48:30 -0700
Changing the development process of angular JS from single-choice to multiple-choice
Simple requirement: The drop-down box used to be radio, but now it wants to be multiple.
Development process:
Question 1: The first thing I want to think about is to find an example on the Internet and find that angular JS seems to have corresponding JS packages to implement, the most of which are isteven-multi-select and angular js-dropdown- ...
Posted by aynsoft on Fri, 29 Mar 2019 08:33:29 -0700
angularJs-The factory and service of angularJs
angularAndService
Angular js supports the concept of "separation of concerns" in the architecture using services; services are both js functions and responsible for only one specific task; this also makes them separate entities for maintenance and testing; controllers and filters can call them as the basis of requirements. Services ...
Posted by willchoong on Sun, 10 Feb 2019 06:24:19 -0800
Angular JS directive to write a paging
Framework:
angularjs +angula-material
Background:
The paging style provided by angular JS material does not meet the needs of the project, and needs to customize the paging style.
As shown in the figure:
Added Home / Last Page, Last Page / Next Page, More Pages.
html:
<paging class="table-page" layout="row" layout ...
Posted by NottaGuru on Thu, 31 Jan 2019 21:36:15 -0800
Data filtering and sorting by Angular JS
Designing a Program: Implementing a Dynamic Learning Plan to Complete the Design of Schedule Ranking and Filtering
Experiments Requirements: 1. Designing web Front-end Interface
2. Using Dependency Injection in Angular JS to Realize Bidirectional Binding of Data
3. Interface information should include: name, student number, one- ...
Posted by smarques on Wed, 30 Jan 2019 09:09:15 -0800
angualr custom instruction link function NgModelController Formatters and parsers
Instructions are a powerful function provided by the angular framework, which is itself an MVVM framework.
In custom instructions, the interaction and changes between model and view are frequent. angular provides two pipeline arrays, $Formatters & $Parsers. Let's use custom instructions to control the changes between view and model.
Belo ...
Posted by Hatdrawn on Sat, 05 Jan 2019 22:51:08 -0800