This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Registration Code | |
Name : www.xyraclius.com | |
Serial : OOCRYIMDMDPWRETFPSUZ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fonts = { | |
Roboto: { | |
normal: 'fonts/Roboto-Regular.ttf', | |
bold: 'fonts/Roboto-Medium.ttf', | |
italics: 'fonts/Roboto-Italic.ttf', | |
bolditalics: 'fonts/Roboto-MediumItalic.ttf' | |
} | |
}; | |
var PdfPrinter = require('pdfmake'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data: { | |
// Form data | |
formData: { /* … */ }, | |
// For tracking client-side validation errors in our form. | |
// > Has property set to `true` for each invalid property in `formData`. | |
formErrors: { /* … */ }, | |
// Syncing / loading state | |
syncing: false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container"> | |
<ajax-form action="cloudsetupactionname" :syncing.sync="syncing" :cloud-error.sync="cloudError" @submitted="submittedForm" :handle-parsing="handleParsingForm"> | |
<!-- write other code here --> | |
<p class="text-danger" v-if="cloudError==='error1'"><small>error1.</small></p> | |
<p class="text-danger" v-else-if="cloudError==='error2'"><small>error2.</small></p> | |
<ajax-button type="submit" :syncing="syncing" class="btn-dark btn-lg btn-block">Submit</ajax-button> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// you can refer https://sailsjs.com/documentation/reference/waterline-orm/datastores/send-native-query | |
// Build our SQL query template. | |
var SPNAME_CALL_SQL = `call sp_spname($1,$2)`; | |
// Send it to the database. | |
var rawResult = await sails.sendNativeQuery(SPNAME_CALL_SQL, [ 'dog', 'cat' ]); | |
return exits.success(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sails generate page foldername/functionname |