Sha256: 54840612880dabba06446912ddab7460bd09b4dcd190598b775e27dda40f5ffd
Contents?: true
Size: 826 Bytes
Versions: 18
Compression:
Stored size: 826 Bytes
Contents
(function(ko, $) { "use strict"; ko.components.register('confirmation-button', { viewModel: function(params) { this.text = ko.observable(params.initialText || ''); this.css = params.css || ''; }, template: '<!-- ko template: { nodes: $componentTemplateNodes } --><!-- /ko -->' }); })(ko, $); // (function(ko, $) { // "use strict"; // ko.components.register('confirmation-button', { // viewModel: { // createViewModel: function createViewModel(params, componentInfo) { // var ConfirmationButtonVm; // ConfirmationButtonVm = function ConfirmationButtonVm(params) { // }; // return new ConfirmationButtonVm(params); // } // }, // template: 'x' // }); // })(ko, $);
Version data entries
18 entries across 18 versions & 1 rubygems