Возможности
Обзор
В работе с большими объемами текста очень удобно быстро переходить к отдельным главам без долгой прокрутки. Вы можете добавить кнопку для перемещения в определенную часть текста по номеру строки и колонки, определить которые можно с помощью Webix API. Вы можете также настраивать скорость прокрутки.
Вертикальная и горизонтальная прокрутка
Вы можете размещать компоненты В Webix ScrollView вертикально или горизонтально, а также в виде сетки, благодаря чему вы можете делать приложения еще более удобными в использовании.
Imitation of Spenser
Now Morning from her orient chamber came,
And her first footsteps touch’d a verdant hill;
Crowning its lawny crest with amber flame,
Silv’ring the untainted gushes of its rill;
Which, pure from mossy beds, did down distill,
And after parting beds of simple flowers,
By many streams a little lake did fill,
Which round its marge reflected woven bowers,
And, in its middle space, a sky that never lowers.
There the king-fisher saw his plumage bright
Vieing with fish of brilliant dye below;
Whose silken fins, and golden scales’ light
Cast upward, through the waves, a ruby glow:
There saw the swan his neck of arched snow,
And oar’d himself along with majesty;
Sparkled his jetty eyes; his feet did show
Beneath the waves like Africa’s ebony,
And on his back a fay reclined voluptuously.
Ah! could I tell the wonders of an isle
That in that fairest lake had placed been,
I could e’en Dido of her grief beguile;
Or rob from aged Lear his bitter teen:
For sure so fair a place was never seen,
Of all that ever charm’d romantic eye:
It seem’d an emerald in the silver sheen
Of the bright waters; or as when on high,
Through clouds of fleecy white, laughs the coerulean sky.
And all around it dipp’d luxuriously
Slopings of verdure through the glossy tide,
Which, as it were in gentle amity,
Rippled delighted up the flowery side;
As if to glean the ruddy tears, it tried,
Which fell profusely from the rose-tree stem!
Haply it was the workings of its pride,
In strife to throw upon the shore a gem
Outvieing all the buds in Flora’s diadem.
The Human Seasons
Four Seasons fill the Measure of the year;
Four Seasons are there in the mind of Man.
He hath his lusty spring when fancy clear
Takes in all beauty with an easy span:
He hath his Summer, when luxuriously
He chews the honied cud of fair spring thoughts,
Till, in his Soul dissolv’d they come to be
Part of himself. He hath his Autumn ports
And Havens of repose, when his tired wings
Are folded up, and he content to look
On Mists in idleness: to let fair things
Pass by unheeded as a threshhold brook.
He hath his Winter too of pale Misfeature,
Or else he would forget his mortal nature.
Fame
Fame, like a wayward girl, will still be coy
To those who woo her with too slavish knees,
But makes surrender to some thoughtless boy,
And dotes the more upon a heart at ease;
She is a Gipsey, - will not speak to those
Who have not learnt to be content without her;
A Jilt, whose ear was never whisper’d close,
Who thinks they scandal her who talk about her;
A very Gipsey is she, Nilus-born,
Sister-in-law to jealous Potiphar;
Ye love-sick Bards! repay her scorn for scorn;
Ye Artists lovelorn! madmen that ye are!
Make your best bow to her and bid adieu,
Then, if she likes it, she will follow you.
Ode on Melancholy
NO, no, go not to Lethe, neither twist
Wolfs-bane, tight-rooted, for its poisonous wine;
Nor suffer thy pale forehead to be kiss’d
By nightshade, ruby grape of Proserpine;
Make not your rosary of yew-berries,
Nor let the beetle, nor the death-moth be
Your mournful Psyche, nor the downy owl
A partner in your sorrow’s mysteries;
For shade to shade will come too drowsily,
And drown the wakeful anguish of the soul.
But when the melancholy fit shall fall
Sudden from heaven like a weeping cloud,
That fosters the droop-headed flowers all,
And hides the green hill in an April shroud;
Then glut thy sorrow on a morning rose,
Or on the rainbow of the salt sand-wave,
Or on the wealth of globed peonies;
Or if thy mistress some rich anger shows,
Emprison her soft hand, and let her rave,
And feed deep, deep upon her peerless eyes.
She dwells with Beauty - Beauty that must die;
And Joy, whose hand is ever at his lips
Bidding adieu; and aching Pleasure nigh,
Turning to poison while the bee-mouth sips:
Ay, in the very temple of Delight 25
Veil’d Melancholy has her sovran shrine,
Though seen of none save him whose strenuous tongue
Can burst Joy’s grape against his palate fine;
His soul shall taste the sadness of her might,
And be among her cloudy trophies hung.
Прокрутка до определенной позиции
Для очень большие данные можно создать закладки с помощью кнопок и переключаться по ним на нужную позицию. Кроме того, вы можете установить, какую часть данных Scrollview будет показывать сразу после инициализации.
Imitation of Spenser
Now Morning from her orient chamber came,
And her first footsteps touch’d a verdant hill;
Crowning its lawny crest with amber flame,
Silv’ring the untainted gushes of its rill;
Which, pure from mossy beds, did down distill,
And after parting beds of simple flowers,
By many streams a little lake did fill,
Which round its marge reflected woven bowers,
And, in its middle space, a sky that never lowers.
There the king-fisher saw his plumage bright
Vieing with fish of brilliant dye below;
Whose silken fins, and golden scales’ light
Cast upward, through the waves, a ruby glow:
There saw the swan his neck of arched snow,
And oar’d himself along with majesty;
Sparkled his jetty eyes; his feet did show
Beneath the waves like Africa’s ebony,
And on his back a fay reclined voluptuously.
Ah! could I tell the wonders of an isle
That in that fairest lake had placed been,
I could e’en Dido of her grief beguile;
Or rob from aged Lear his bitter teen:
For sure so fair a place was never seen,
Of all that ever charm’d romantic eye:
It seem’d an emerald in the silver sheen
Of the bright waters; or as when on high,
Through clouds of fleecy white, laughs the coerulean sky.
And all around it dipp’d luxuriously
Slopings of verdure through the glossy tide,
Which, as it were in gentle amity,
Rippled delighted up the flowery side;
As if to glean the ruddy tears, it tried,
Which fell profusely from the rose-tree stem!
Haply it was the workings of its pride,
In strife to throw upon the shore a gem
Outvieing all the buds in Flora’s diadem.
The Human Seasons
Four Seasons fill the Measure of the year;
Four Seasons are there in the mind of Man.
He hath his lusty spring when fancy clear
Takes in all beauty with an easy span:
He hath his Summer, when luxuriously
He chews the honied cud of fair spring thoughts,
Till, in his Soul dissolv’d they come to be
Part of himself. He hath his Autumn ports
And Havens of repose, when his tired wings
Are folded up, and he content to look
On Mists in idleness: to let fair things
Pass by unheeded as a threshhold brook.
He hath his Winter too of pale Misfeature,
Or else he would forget his mortal nature.
Fame
Fame, like a wayward girl, will still be coy
To those who woo her with too slavish knees,
But makes surrender to some thoughtless boy,
And dotes the more upon a heart at ease;
She is a Gipsey, - will not speak to those
Who have not learnt to be content without her;
A Jilt, whose ear was never whisper’d close,
Who thinks they scandal her who talk about her;
A very Gipsey is she, Nilus-born,
Sister-in-law to jealous Potiphar;
Ye love-sick Bards! repay her scorn for scorn;
Ye Artists lovelorn! madmen that ye are!
Make your best bow to her and bid adieu,
Then, if she likes it, she will follow you.
Ode on Melancholy
NO, no, go not to Lethe, neither twist
Wolfs-bane, tight-rooted, for its poisonous wine;
Nor suffer thy pale forehead to be kiss’d
By nightshade, ruby grape of Proserpine;
Make not your rosary of yew-berries,
Nor let the beetle, nor the death-moth be
Your mournful Psyche, nor the downy owl
A partner in your sorrow’s mysteries;
For shade to shade will come too drowsily,
And drown the wakeful anguish of the soul.
But when the melancholy fit shall fall
Sudden from heaven like a weeping cloud,
That fosters the droop-headed flowers all,
And hides the green hill in an April shroud;
Then glut thy sorrow on a morning rose,
Or on the rainbow of the salt sand-wave,
Or on the wealth of globed peonies;
Or if thy mistress some rich anger shows,
Emprison her soft hand, and let her rave,
And feed deep, deep upon her peerless eyes.
She dwells with Beauty - Beauty that must die;
And Joy, whose hand is ever at his lips
Bidding adieu; and aching Pleasure nigh,
Turning to poison while the bee-mouth sips:
Ay, in the very temple of Delight 25
Veil’d Melancholy has her sovran shrine,
Though seen of none save him whose strenuous tongue
Can burst Joy’s grape against his palate fine;
His soul shall taste the sadness of her might,
And be among her cloudy trophies hung.
Альтернативные полосы прокрутки
Webix Pro включает альтернативные полосы прокрутки, которые можно использовать вместо стандартных. Эти полосы прокрутки можно использовать с любым виджетом Webix, например Scrollview, Datatable, Template и т.д.