npm install ionicons
add the code below to "assets" in the angular.json file.
{
"glob": "**/*",
"input": "./node_modules/ionicons/dist/ionicons/",
"output": "./ionicons/"
}
[runners.cache] | |
Type = "s3" | |
Shared = true | |
[runners.cache.s3] | |
Debug = true | |
ServerAddress = "s3.nl-ams.scw.cloud" | |
AccessKey = "<ACCESS_KEY>" | |
SecretKey = "<SECRET_KEY>" | |
BucketName = "<BUCKET_ID>" | |
BucketLocation = "<BUCKET_REGION: eg: nl-ams>" |
npm install ionicons
add the code below to "assets" in the angular.json file.
{
"glob": "**/*",
"input": "./node_modules/ionicons/dist/ionicons/",
"output": "./ionicons/"
}
{ | |
"gitlens.keymap": "alternate", | |
"workbench.startupEditor": "newUntitledFile", | |
"gitlens.advanced.messages": { | |
"suppressCommitHasNoPreviousCommitWarning": false, | |
"suppressCommitNotFoundWarning": false, | |
"suppressFileNotUnderSourceControlWarning": false, | |
"suppressGitVersionWarning": false, | |
"suppressLineUncommittedWarning": false, | |
"suppressNoRepositoryWarning": false, |
code --install-extension KTamas.laravel-blade | |
code --install-extension Kasik96.format-indent | |
code --install-extension Sophisticode.php-formatter | |
code --install-extension Angular.ng-template | |
code --install-extension bmewburn.vscode-intelephense-client | |
code --install-extension codingyu.laravel-goto-view | |
code --install-extension Dart-Code.dart-code | |
code --install-extension Dart-Code.flutter | |
code --install-extension DotJoshJohnson.xml | |
code --install-extension eamodio.gitlens |
import { Component, EventEmitter, Output, Input } from '@angular/core'; | |
@Component({ | |
selector: 'delete-confirm', | |
template: ` | |
<button class="btn btn-danger" (click)="showConfirm()"> | |
{{btn_txt}} | |
</button> | |
`, | |
}) |
/** | |
* A generic confirmation for risky actions. | |
* Usage: Add attributes: ng-really-message="Are you sure"? ng-really-click="takeAction()" ng-really-title="Delete this?" function | |
*/ | |
angular.module('app').directive('ngReallyClick', ["$modal", "$timeout", function($modal, $timeout) { | |
return { | |
restrict: 'A', | |
link: function(scope, element, attrs) { | |
return element.bind('click', function() { | |
var message, title; |