Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import {customAttribute} from 'aurelia-framework';
- import {autoinject} from 'aurelia-framework';
- import * as $ from "jquery";
- @autoinject
- @customAttribute('found')
- export class FoundationCustomAttribute {
- constructor(private element: Element) {
- }
- attached() {
- $(this.element).foundation();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement