diff --git a/examples/options-default.html b/examples/options-default.html index ed785b6..9a26fc2 100644 --- a/examples/options-default.html +++ b/examples/options-default.html @@ -16,6 +16,11 @@ "use strict"; $('#Default').perfectScrollbar(); }); + var updateSize = function () { + var width = parseInt($('#width').val(), 10); + var height = parseInt($('#height').val(), 10); + $('#Default').width(width).height(height).perfectScrollbar('update'); + };
@@ -23,6 +28,11 @@+ Width + Height + +