How to use the @aurelia/jit.AttrSyntax function in @aurelia/jit

To help you get started, we’ve selected a few @aurelia/jit examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github aurelia / aurelia / packages / __tests__ / 5-jit-html / attribute-pattern.ts View on Github external
public ['PART.attr'](rawName: string, rawValue: string, parts: string[]): AttrSyntax {
    return new AttrSyntax(rawName, rawValue, parts[0], 'attr');
  }
}
github aurelia / aurelia / packages / i18n / dist / esnext / t / translation-renderer.js View on Github external
this.prototype[bindPattern] = function (rawName, rawValue, parts) {
            return new AttrSyntax(rawName, rawValue, parts[1], bindPattern);
        };
    }
github aurelia / aurelia / packages / i18n / dist / esnext / t / translation-parameters-renderer.js View on Github external
[attribute](rawName, rawValue, parts) {
        return new AttrSyntax(rawName, rawValue, '', attribute);
    }
};
github aurelia / aurelia / packages / i18n / src / t / translation-renderer.ts View on Github external
this.prototype[alias] = function (rawName: string, rawValue: string, parts: string[]): AttrSyntax {
      return new AttrSyntax(rawName, rawValue, '', alias);
    };
  }
github aurelia / aurelia / packages / i18n / dist / umd / t / translation-renderer.js View on Github external
this.prototype[bindPattern] = function (rawName, rawValue, parts) {
                return new jit_1.AttrSyntax(rawName, rawValue, parts[1], bindPattern);
            };
        }
github aurelia / aurelia / packages / jit-html / dist / esnext / attribute-patterns.js View on Github external
['style.PART'](rawName, rawValue, parts) {
        return new AttrSyntax(rawName, rawValue, parts[1], 'style');
    }
    ['PART.style'](rawName, rawValue, parts) {
github aurelia / aurelia / packages / i18n / src / t / translation-parameters-renderer.ts View on Github external
public [attribute](rawName: string, rawValue: string, parts: string[]): AttrSyntax {
    return new AttrSyntax(rawName, rawValue, '', attribute);
  }
}
github aurelia / aurelia / packages / jit-html / dist / index.es6.js View on Github external
['class.PART'](rawName, rawValue, parts) {
        return new AttrSyntax(rawName, rawValue, parts[1], 'class');
    }
    ['PART.class'](rawName, rawValue, parts) {
github aurelia / aurelia / packages / i18n / dist / esnext / t / translation-renderer.js View on Github external
this.prototype[alias] = function (rawName, rawValue, parts) {
            return new AttrSyntax(rawName, rawValue, '', alias);
        };
    }
github aurelia / aurelia / packages / jit-html / dist / index.es6.js View on Github external
['style.PART'](rawName, rawValue, parts) {
        return new AttrSyntax(rawName, rawValue, parts[1], 'style');
    }
    ['PART.style'](rawName, rawValue, parts) {