Advertisement
Guest User

Untitled

a guest
Dec 10th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. import {customAttribute} from 'aurelia-framework';
  2. import {autoinject} from 'aurelia-framework';
  3. import * as $ from "jquery";
  4.  
  5. @autoinject
  6. @customAttribute('found')
  7. export class FoundationCustomAttribute {
  8. constructor(private element: Element) {
  9.  
  10. }
  11.  
  12. attached() {
  13. $(this.element).foundation();
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement