Пример #1
0
        public static void init()
        {
            ContactCardViewModel vm = new ContactCardViewModel();

            wall = new FreeWallPlugin("#freewall");
            FreeWallOptions options = new FreeWallOptions();

            options.selector = ".brick";
            options.animate  = true;
            options.cellW    = 150;
            options.cellH    = "auto";
            options.onResize = delegate()
            {
                wall.fitWidth();
            };

            wall.reset(options);

            // Data Bind the View Model
            ViewBase.RegisterViewModel(vm);
        }
Пример #2
0
        public static void init()
        {
            ContactCardViewModel vm = new ContactCardViewModel();

            wall = new FreeWallPlugin("#freewall");
            FreeWallOptions options = new FreeWallOptions();
            options.selector = ".brick";
            options.animate = true;
            options.cellW = 150;
            options.cellH = "auto";
            options.onResize = delegate()
            {
                wall.fitWidth();
            };

            wall.reset(options);
            
            // Data Bind the View Model
            ViewBase.RegisterViewModel(vm);

        }