UNPKG

ember-computed-size

Version:

Need to have some properties on your views with the current width and height of their main element? Here is the mixin which does this for you.

22 lines (18 loc) 558 B
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>ember-computed-size</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> {{content-for 'head'}} <link rel="stylesheet" href="assets/vendor.css"> <link rel="stylesheet" href="assets/dummy.css"> </head> <body> {{content-for 'body'}} <script src="assets/vendor.js"></script> <script src="assets/dummy.js"></script> </body> </html>