Angular and SAP C4C event processing queues
Angular We can see a function called processQueue in the Angular framework code: this function is started with $scope.$apply: processQueue The core code is inside a for loop, the body of which is a queue that stores asynchronous processing tasks AsyncQueuePosition: {code... } every element in the queue looks like this: a handler function fn, a local variable locals, and a scope object.
Customize Google Map Marker, Tooltips, Toggle Switch, Map Style
A small project is going to use Google Map as its main presentation, showing the current state of the world on a map. Although I have used Google Map before, it still took me two days to complete the development of the main map function. Here is a record for my own use.
Day 30: Play Framework -- The Java Developer's Dream Framework
Today is the last day and I decided to learn about the Play framework. I originally wanted to write about Scala, but after studying it for a few hours, I realized that it was impossible to write Scala in one day. So today I will cover the basics of the Play framework, and then learn how to use it to develop applications.
AngularJS two-way binding data input multiple decimal point problem (two-way binding does not refresh the problem)
1. Introducing the ChangeDetectorRef component {code... } 2. Page code {code... } 3. Execute the following method when the input field changes {code... }
Angluar5+ionic3 Practice (5)
Real development scenario: The information of the current log-in is saved on the main page. At the beginning of the login into the home page when stored, and then other pages used personnel information is the home page out. In one of the modules after the modification of personnel positions. The main page did not retrieve personnel information. This will result in incorrect information for other modules. Solution: in one of the modules to modify the staff post, to the main page to send a message. Tell it that it needs to retrieve the login person's letter again...
Day 25: Application development with Tornado, MongoDB and AngularJS
In today's Learn 30 New Technologies in 30 Days, I decided to leave my JavaScripts for a while and learn about a Web framework called Tornado. The reason I decided to learn Tornado was so I could write Web applications in Python. I only learned the Flask framework, so I felt that Tornado would add to my knowledge of Python Web development. The application we describe in this blog post uses Tornado for RE...
An application of the Angular event binding syntax in the SAP Spartacus Popover Component
To bind to an event, use Angular's event binding syntax. This syntax consists of the target event name in parentheses to the left of the equals sign and the template statement in quotes to the right. In the following example, the target event name is click and the template statement is onSave().
Angluar5+ionic3 Practice (3)
Background: These days I am doing the report form of Hong Hanlin. Use echarts. Git to get a new feature. Three reports. Two days of static page drawing. Today, let's sort out what we've learned. Check out the EchartsEcharts website where there are many legends. For now, I need to use the Pie chart Pie and the Bar chart. To practice the Pie chart Pie, let's take a look at the implementation effect: the above diagram shows the actual coverage using a Pie chart. This is the Pie of Echarts. The implementation logic is:...
Day 2: AngularJS -- A first look at AngularJS
Today I'm going to learn the basics of AngularJS and hopefully make a simple little application out of it. I will also use Bower in this article, and it is impossible for me to learn AngularJS in one day, so I plan to do it over several days, covering different points each day.
The SAP Spartacus product details page displays custom data with an Outlet
This new module, because it uses outlets, needs to import OutletRefModule from @Spartacus/ Storefront, and export our own implementation of MyOutletsComponent for consumption.